Skip to content

Commit 61f0880

Browse files
committed
another fix for the secret project
1 parent 9abec51 commit 61f0880

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/Hacks/Frame Stepper/FrameStepper.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ void SteppedUILayer::updateUI()
187187
m_fields->menu->setScale(scale);
188188
}
189189

190+
#ifndef GEODE_IS_IOS
191+
190192
bool SteppedKeyboardDispatcher::dispatchKeyboardMSG(enumKeyCodes key, bool isKeyDown, bool isKeyRepeat)
191193
{
192194
CCKeyboardDispatcher::dispatchKeyboardMSG(key, isKeyDown, isKeyRepeat);
@@ -218,6 +220,8 @@ bool SteppedKeyboardDispatcher::dispatchKeyboardMSG(enumKeyCodes key, bool isKey
218220
return true;
219221
}
220222

223+
#endif
224+
221225
class FrameStepperUIDelegate : public ModuleChangeDelegate
222226
{
223227
virtual void initOptionsLayer(CCLayer* options)

src/Hacks/Frame Stepper/FrameStepper.hpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,13 @@ class $modify (SteppedUILayer, UILayer)
5151
void updateUI();
5252
};
5353

54+
#ifndef GEODE_IS_IOS
55+
5456
class $modify (SteppedKeyboardDispatcher, CCKeyboardDispatcher)
5557
{
5658
bool dispatchKeyboardMSG(enumKeyCodes key, bool isKeyDown, bool isKeyRepeat);
5759

5860
QOLMOD_MOD_ALL_HOOKS("frame-stepper")
59-
};
61+
};
62+
63+
#endif

0 commit comments

Comments
 (0)