Skip to content

Commit

Permalink
feat(MacOS): Start MacOS testing
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaghettDev committed Jun 7, 2024
1 parent ee76027 commit 984e1a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/geode-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
uses: geode-sdk/build-geode-mod@main
with:
cli: 'v3.0.0-beta.1'
bindings: geode-sdk/bindings
bindings-ref: main
bindings: SpaghettDev/bindings
bindings-ref: cctextinputnode-mac
combine: true
target: ${{ matrix.config.target }}

Expand Down
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,7 @@ struct AlertLayerFix : Modify<AlertLayerFix, CCScene>
// from text input to deletion and even selection


#ifdef GEODE_IS_WINDOWS
// backspace and del is handled in dispatchDeleteBackward/dispatchDeleteForward then in CCEGLView::onGLFWKeyCallback
// same goes for all the other characters (dispatchInsertText then CCEGLView::onGLFWKeyCallback)
// except for ctrl and shift, which are only handled in CCEGLView::onGLFWKeyCallback
Expand Down Expand Up @@ -1016,3 +1017,5 @@ struct BetterCCEGLView : Modify<BetterCCEGLView, CCEGLView>
g_selectedInput->useUpdateBlinkPos(false);
}
};

#endif

0 comments on commit 984e1a4

Please sign in to comment.