diff --git a/loader/resources/images/sliderthumb.png b/loader/resources/images/sliderthumb.png new file mode 100644 index 000000000..b8831b81d Binary files /dev/null and b/loader/resources/images/sliderthumb.png differ diff --git a/loader/resources/images/sliderthumbsel.png b/loader/resources/images/sliderthumbsel.png new file mode 100644 index 000000000..54fff1aec Binary files /dev/null and b/loader/resources/images/sliderthumbsel.png differ diff --git a/loader/src/ui/nodes/SliderNode.cpp b/loader/src/ui/nodes/SliderNode.cpp index 6412d0b72..d793514bf 100644 --- a/loader/src/ui/nodes/SliderNode.cpp +++ b/loader/src/ui/nodes/SliderNode.cpp @@ -114,8 +114,8 @@ bool SliderNode::initCustom(CCSprite* thumb, CCSprite* thumbSelected, NineSlice* } bool SliderNode::initStandard(SliderCallback callback, bool alt) { - auto thumb = CCSprite::create("sliderthumb.png"); - auto thumbSel = CCSprite::create("sliderthumbsel.png"); + auto thumb = CCSprite::create("sliderthumb.png"_spr); + auto thumbSel = CCSprite::create("sliderthumbsel.png"_spr); if (alt) { auto groove = geode::NineSlice::create("slider-groove-2.png"_spr); @@ -417,4 +417,4 @@ void SliderNode::onExit() { void SliderNode::registerWithTouchDispatcher() { CCTouchDispatcher::get()->addTargetedDelegate(this, m_impl->m_touchPriority, true); -} \ No newline at end of file +}