Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions loader/include/Geode/cocos/cocoa/CCGeometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,6 @@ class CC_DLL CCSize
* @lua NA
*/
inline constexpr CCSize(const CCSize& other) : width(other.width), height(other.height) {}
/**
* @lua NA
*/
inline constexpr CCSize(const CCPoint& point) : width(point.x), height(point.y) {}
/**
* @lua NA
*/
Expand Down
2 changes: 2 additions & 0 deletions loader/src/ui/nodes/Scrollbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ bool Scrollbar::Impl::init(CCScrollLayerExt* target) {
m_self->addChild(m_thumb);

m_self->setTouchEnabled(true);
// Make sure the size is accurate in the first frame
m_self->draw();

return true;
}
Expand Down
Loading