Skip to content

Commit ddc8e69

Browse files
committed
soz ios
1 parent be89638 commit ddc8e69

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# v1.0.3
22
- Code cleanup
3-
- Fixed swipe mode triggering while touching menu
3+
- Fixed swipe mode triggering while touching menu [*Windows*, *Android*]
44
- Minor tweaks
55

66
# v1.0.2

src/main.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,11 +678,16 @@ class $modify(MyEditorUI, EditorUI) {
678678
};
679679
};
680680

681+
// hook is not currently bound on these platforms
682+
#if !defined(GEODE_IS_MACOS) && !defined(GEODE_IS_IOS)
683+
681684
void triggerSwipeMode() {
682685
// Only trigger if not already touching the menu
683686
if (!m_fields->m_dontSwipe) EditorUI::triggerSwipeMode();
684687
};
685688

689+
#endif
690+
686691
// Override mouse/touch events to catch selection changes and handle dragging
687692
bool ccTouchBegan(CCTouch * touch, CCEvent * event) {
688693
// Reset dragging state

0 commit comments

Comments
 (0)