Skip to content

Commit 93930ce

Browse files
committed
update: Target geode v4.0.0-beta.1
1 parent fa3d26e commit 93930ce

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

.github/workflows/geode-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
bindings-ref: main
3232
combine: true
3333
target: ${{ matrix.config.target }}
34+
build-args: '--parallel 16'
3435

3536
package:
3637
name: Package builds
@@ -41,7 +42,7 @@ jobs:
4142
- uses: geode-sdk/build-geode-mod/combine@main
4243
id: build
4344

44-
- uses: actions/upload-artifact@v4
45+
- uses: actions/upload-artifact@v3
4546
with:
4647
name: Build Output
4748
path: ${{ steps.build.outputs.build-output }}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [v4.2.0-beta.1] - 2024-11-17
9+
10+
### Changed
11+
12+
- Target Geode version (v3.3.0 -> v4.0.0-beta.1)
13+
814
## [v4.2.0-beta.1] - 2024-07-22
915

1016
### Changed

mod.json

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
{
2-
"geode": "3.3.0",
2+
"geode": "4.0.0-beta.1",
33
"gd": {
4-
"win": "2.206"
4+
"win": "2.2074"
55
},
6-
"version": "v4.2.0-beta.1",
6+
"version": "v4.2.0-beta.3",
77
"id": "spaghettdev.betterinputs",
88
"name": "BetterInputs",
99
"developer": "SpaghettDev",
10-
"description": "Makes inputs behave like on Windows (text highlighting, Ctrl+A, Ctrl+Arrow hotkeys, etc...)",
10+
"description": "Makes inputs behave like they should.",
1111
"tags": ["enhancement"],
12-
"repository": "https://github.com/SpaghettDev/BetterInputs",
1312
"links": {
1413
"community": "https://discord.gg/3bShQb6Jz3",
1514
"source": "https://github.com/SpaghettDev/BetterInputs"
@@ -19,12 +18,6 @@
1918
"url": "https://github.com/SpaghettDev/BetterInputs/issues"
2019
},
2120
"settings": {
22-
"auto-deselect": {
23-
"type": "bool",
24-
"default": true,
25-
"name": "Auto deselect input",
26-
"description": "<cr>Highly Experimental!</c> Automatically deselect the currently selected input when an alert or layer appears. (Fixes escape key deselecting the input instead of closing the opened alert/layer)"
27-
},
2821
"allow-any-character": {
2922
"type": "bool",
3023
"default": true,

src/main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,13 +1204,13 @@ struct AlertLayerFix : Modify<AlertLayerFix, CCScene>
12041204
}
12051205

12061206
auto* lastLayer = static_cast<CCLayer*>(this->getChildren()->lastObject());
1207+
const int lastLayerTouchPrio = lastLayer->getTouchPriority();
12071208

12081209
if (
1209-
const int lastLayerTouchPrio = lastLayer->getTouchPriority();
1210+
auto handler = CCTouchDispatcher::get()->findHandler(static_cast<CCTouchDelegate*>(g_selectedInput));
1211+
handler &&
12101212
lastLayerTouchPrio != 0 &&
1211-
lastLayerTouchPrio < CCTouchDispatcher::get()->findHandler(
1212-
static_cast<CCTouchDelegate*>(g_selectedInput)
1213-
)->getPriority()
1213+
lastLayerTouchPrio < handler->getPriority()
12141214
)
12151215
g_selectedInput->deselectInput();
12161216
else if (lastLayer->getZOrder() > m_fields->m_outermost_input_parent->getZOrder())

0 commit comments

Comments
 (0)