Explorar o código

Bugfix: Fixing menu bar navigation

BearishSun %!s(int64=7) %!d(string=hai) anos
pai
achega
e849ad6815
Modificáronse 3 ficheiros con 38 adicións e 2 borrados
  1. 1 1
      CMakeLists.txt
  2. 36 0
      Data/Raw/GUISkin.json
  3. 1 1
      Source/bsf

+ 1 - 1
CMakeLists.txt

@@ -27,7 +27,7 @@ add_subdirectory(${BSF_SOURCE_DIR})
 
 set (BS_PREBUILT_DEPENDENCIES_VERSION 24)
 set (BS_SRC_DEPENDENCIES_VERSION 15)
-set (BS_BUILTIN_ASSETS_VERSION 5)
+set (BS_BUILTIN_ASSETS_VERSION 6)
 
 # Options
 set(GENERATE_SCRIPT_BINDINGS OFF CACHE BOOL "If true, script binding files will be generated. Script bindings are required for the project to build properly, however they take a while to generate. If you are sure the script bindings are up to date, you can turn off their generation (temporarily) to speed up the build.")

+ 36 - 0
Data/Raw/GUISkin.json

@@ -1639,6 +1639,42 @@
                 "r": 0.0
             },
             "texture": "MenuBarButtonActive.png"
+        },
+		"focused": {
+            "textColor": {
+                "a": 1.0,
+                "b": 0.699999988079071,
+                "g": 0.699999988079071,
+                "r": 0.699999988079071
+            },
+            "texture": "MenuBarButtonNormal.png"
+        },
+        "focusedOn": {
+            "textColor": {
+                "a": 1.0,
+                "b": 0.0,
+                "g": 0.0,
+                "r": 0.0
+            },
+            "texture": "MenuBarButtonActive.png"
+        },
+		"focusedHover": {
+            "textColor": {
+                "a": 1.0,
+                "b": 0.699999988079071,
+                "g": 0.699999988079071,
+                "r": 0.699999988079071
+            },
+            "texture": "MenuBarButtonNormal.png"
+        },
+        "focusedHoverOn": {
+            "textColor": {
+                "a": 1.0,
+                "b": 0.0,
+                "g": 0.0,
+                "r": 0.0
+            },
+            "texture": "MenuBarButtonActive.png"
         },
         "margins": {
             "bottom": 2,

+ 1 - 1
Source/bsf

@@ -1 +1 @@
-Subproject commit 9924aed087bce8a6b610c90e45775b3fc481bdb3
+Subproject commit 93acc7faa5d70f50567ab6099d860cc5a3056d63