File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ script = ExtResource("9")
9494
9595[node name ="Control" type ="Control" parent ="CanvasLayer" ]
9696layout_mode = 3
97+ anchors_preset = 15
9798anchor_right = 1.0
9899anchor_bottom = 1.0
99100offset_left = 10.0
@@ -181,12 +182,14 @@ text = "End Turn"
181182
182183[node name ="SlideOutBar" type ="Control" parent ="CanvasLayer/Control" ]
183184layout_mode = 1
185+ anchors_preset = 11
184186anchor_left = 1.0
185187anchor_right = 1.0
186188anchor_bottom = 1.0
187- offset_top = 50.0
188- offset_right = -10.0
189- offset_bottom = -200.0
189+ offset_left = -108.0
190+ offset_top = 80.0
191+ offset_right = -108.0
192+ offset_bottom = -170.0
190193grow_horizontal = 0
191194grow_vertical = 2
192195mouse_filter = 1
@@ -247,14 +250,10 @@ libraries = {
247250"" : SubResource ("AnimationLibrary_bowxq" )
248251}
249252
250- [node name ="PlayerCamera" type ="Camera2D" parent ="CanvasLayer" ]
251- script = ExtResource ("11_pkhac" )
252-
253253[connection signal ="NewAutoselectedUnit" from ="." to ="CanvasLayer/Control/GameStatus" method ="OnNewUnitSelected" ]
254254[connection signal ="NewAutoselectedUnit" from ="." to ="CanvasLayer/Control/UnitButtons" method ="OnNewUnitSelected" ]
255255[connection signal ="NoMoreAutoselectableUnits" from ="." to ="CanvasLayer/Control/GameStatus" method ="OnNoMoreAutoselectableUnits" ]
256256[connection signal ="NoMoreAutoselectableUnits" from ="." to ="CanvasLayer/Control/UnitButtons" method ="OnNoMoreAutoselectableUnits" ]
257-
258257[connection signal ="ShowSpecificAdvisor" from ="." to ="CanvasLayer/Advisor" method ="OnShowSpecificAdvisor" ]
259258[connection signal ="TurnEnded" from ="." to ="CanvasLayer/Control/GameStatus" method ="OnTurnEnded" ]
260259[connection signal ="TurnStarted" from ="." to ="CanvasLayer/Control/GameStatus" method ="OnTurnStarted" ]
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ public override void _Ready() {
9292
9393 AddChild ( mapView ) ;
9494
95- Toolbar = GetNode < Control > ( "CanvasLayer/ToolBar/MarginContainer/HBoxContainer" ) ;
95+ Toolbar = GetNode < Control > ( "CanvasLayer/Control/ ToolBar/MarginContainer/HBoxContainer" ) ;
9696
9797 //TODO: What was this supposed to do? It throws errors and occasinally causes crashes now, because _OnViewportSizeChanged doesn't exist
9898 // GetTree().Root.Connect("size_changed",new Callable(this,"_OnViewportSizeChanged"));
You can’t perform that action at this time.
0 commit comments