mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 01:43:22 +08:00
Fixed Arrow Navigation
This commit is contained in:
parent
967bebf80b
commit
147038b724
@ -122,6 +122,12 @@ class PluginWindow(ba.Window):
|
||||
texture=ba.gettexture('settingsIcon'),
|
||||
)
|
||||
|
||||
ba.widget(
|
||||
edit=self._settings_button,
|
||||
up_widget=self._settings_button,
|
||||
right_widget=self._settings_button
|
||||
)
|
||||
|
||||
self._scrollwidget = ba.scrollwidget(
|
||||
parent=self._root_widget,
|
||||
position=(50 + x_inset, 50),
|
||||
@ -200,6 +206,7 @@ class PluginWindow(ba.Window):
|
||||
edit=check,
|
||||
up_widget=self._back_button,
|
||||
left_widget=self._back_button,
|
||||
right_widget=self._settings_button
|
||||
)
|
||||
if button is not None:
|
||||
ba.widget(edit=button, up_widget=self._back_button)
|
||||
|
||||
@ -78,7 +78,7 @@ class PluginSettingsWindow(ba.Window):
|
||||
)
|
||||
|
||||
self._y_position = 170 if uiscale is ba.UIScale.MEDIUM else 205
|
||||
self._plugins_button = ba.buttonwidget(
|
||||
self._enable_plugins_button = ba.buttonwidget(
|
||||
parent=self._root_widget,
|
||||
position=(65,self._y_position),
|
||||
size=(350, 60),
|
||||
@ -89,7 +89,7 @@ class PluginSettingsWindow(ba.Window):
|
||||
)
|
||||
|
||||
self._y_position -= 70
|
||||
self._plugins_button = ba.buttonwidget(
|
||||
self._disable_plugins_button = ba.buttonwidget(
|
||||
parent=self._root_widget,
|
||||
position=(65,self._y_position),
|
||||
size=(350, 60),
|
||||
@ -111,6 +111,23 @@ class PluginSettingsWindow(ba.Window):
|
||||
on_value_change_call=self._update_value
|
||||
)
|
||||
|
||||
ba.widget(
|
||||
edit=self._back_button,
|
||||
down_widget=self._enable_plugins_button
|
||||
)
|
||||
|
||||
ba.widget(
|
||||
edit=self._disable_plugins_button,
|
||||
left_widget=self._disable_plugins_button
|
||||
)
|
||||
|
||||
ba.widget(
|
||||
edit=self._enable_new_plugins_check_box,
|
||||
left_widget=self._enable_new_plugins_check_box,
|
||||
right_widget=self._enable_new_plugins_check_box,
|
||||
down_widget=self._enable_new_plugins_check_box
|
||||
)
|
||||
|
||||
def _enable_all_plugins(self) -> None:
|
||||
cfg = ba.app.config
|
||||
plugs = cfg['Plugins']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user