dropdown
This commit is contained in:
1 parent
bb3f0055f8
commit
fd8fefd62f
3 files changed
+9
-3
No files matched your search
@@ -160,7 +160,6 @@ class KaTrainGui(Screen, KaTrainBase):
|
||||
return
|
||||
cn = self.game.current_node
|
||||
last_player, next_player = self.players_info[cn.player], self.players_info[cn.next_player]
|
||||
print('update state',self.play_analyze_mode == MODE_PLAY , self.nav_drawer.state != "open" , self.popup_open is None)
|
||||
if self.play_analyze_mode == MODE_PLAY and self.nav_drawer.state != "open" and self.popup_open is None:
|
||||
teaching_undo = cn.player and last_player.being_taught and cn.parent
|
||||
if (
|
||||
|
||||
+9
-2
@@ -826,13 +826,20 @@
|
||||
AnalysisToggle:
|
||||
id: ownership
|
||||
text: i18n._('analysis:territory')
|
||||
MDFloatLayout:
|
||||
AutoSizedRectangleButton:
|
||||
background_color: BOX_BACKGROUND_COLOR
|
||||
size_hint_y: 0.5
|
||||
pos_hint: {'center_y': 0.5, 'x': 0}
|
||||
id: analysis_button
|
||||
on_release: root.toggle_dropdown()
|
||||
text: i18n._("btn:Analyze")
|
||||
pos_hint: {'center_y':0.5}
|
||||
text: ' ' + i18n._("btn:Analyze")
|
||||
Image:
|
||||
pos_hint: {'center_y': 0.5, 'x': 0}
|
||||
size_hint: None, 0.5
|
||||
width: self.height/2
|
||||
source: 'img/menu.png'
|
||||
mipmap: True
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
Reference in new issue
Block a user