Compare commits

..

1 Commits

Author SHA1 Message Date
Jules Aguillon
50b986ef28 Workaround Godot editor not implementing setSelection()
Some checks failed
Make Apk CI / Build-Apk (push) Has been cancelled
Check layouts / check_layout.output (push) Has been cancelled
Check layouts / Generated files (push) Has been cancelled
This was tested against:

    org.godotengine.editor.v3
    org.godotengine.editor.v4
2025-07-06 21:56:33 +02:00
4 changed files with 6 additions and 17 deletions

View File

@@ -16,8 +16,8 @@ android {
applicationId "juloo.keyboard2"
minSdk 21
targetSdkVersion 35
versionCode 50
versionName "1.32.1"
versionCode 49
versionName "1.32.0"
}
sourceSets {

View File

@@ -1 +0,0 @@
Bug fixes

View File

@@ -168,7 +168,7 @@ public final class Config
switch_input_immediate = _prefs.getBoolean("switch_input_immediate", false);
extra_keys_param = ExtraKeysPreference.get_extra_keys(_prefs);
extra_keys_custom = CustomExtraKeysPreference.get(_prefs);
selected_number_layout = NumberLayout.of_string(_prefs.getString("number_entry_layout", "pin"));
selected_number_layout = NumberLayout.valueOf(_prefs.getString("number_entry_layout", "pin").toUpperCase());
current_layout_portrait = _prefs.getInt("current_layout_portrait", 0);
current_layout_landscape = _prefs.getInt("current_layout_landscape", 0);
current_layout_unfolded_portrait = _prefs.getInt("current_layout_unfolded_portrait", 0);

View File

@@ -1,17 +1,7 @@
package juloo.keyboard2;
public enum NumberLayout {
PIN,
NUMBER,
NORMAL;
public static NumberLayout of_string(String name)
{
switch (name)
{
case "number": return NUMBER;
case "normal": return NORMAL;
case "pin": default: return PIN;
}
}
PIN,
NUMBER,
NORMAL
}