Skip to content

Commit 8e35041

Browse files
committed
fix rebase issue
1 parent e887704 commit 8e35041

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

C7/C7Game.tscn

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ script = ExtResource("9")
9494

9595
[node name="Control" type="Control" parent="CanvasLayer"]
9696
layout_mode = 3
97+
anchors_preset = 15
9798
anchor_right = 1.0
9899
anchor_bottom = 1.0
99100
offset_left = 10.0
@@ -181,12 +182,14 @@ text = "End Turn"
181182

182183
[node name="SlideOutBar" type="Control" parent="CanvasLayer/Control"]
183184
layout_mode = 1
185+
anchors_preset = 11
184186
anchor_left = 1.0
185187
anchor_right = 1.0
186188
anchor_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
190193
grow_horizontal = 0
191194
grow_vertical = 2
192195
mouse_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"]

C7/Game.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"));

0 commit comments

Comments
 (0)