Tooltips bottom position. Closes #37
This commit is contained in:
@@ -264,20 +264,11 @@ func show():
|
||||
escoria.logger.info(self, "show")
|
||||
hidden = false
|
||||
update_tooltip_text()
|
||||
# if _room_is_ready:
|
||||
# $tooltip1.visible = true;
|
||||
# $tooltip2.visible = true;
|
||||
#$icon.visible = true;
|
||||
#$label.visible = true;
|
||||
#$background.visible = true;
|
||||
|
||||
func hide():
|
||||
if _room_is_ready:
|
||||
$tooltip1.visible = false;
|
||||
$tooltip2.visible = false;
|
||||
#$icon.visible = false;
|
||||
#$label.visible = false;
|
||||
#$background.visible = false;
|
||||
|
||||
func setHidden():
|
||||
hidden = true
|
||||
|
||||
@@ -115,8 +115,8 @@ z_index = 10
|
||||
color = Color( 1, 1, 1, 1 )
|
||||
offset_from_cursor_action1 = Vector2( 0, 30 )
|
||||
offset_from_cursor_action2 = Vector2( 0, -20 )
|
||||
offset_from_cursor_action3 = Vector2( 0, 55 )
|
||||
offset_from_cursor_action4 = Vector2( 0, -55 )
|
||||
offset_from_cursor_action3 = Vector2( 0, 30 )
|
||||
offset_from_cursor_action4 = Vector2( 0, -20 )
|
||||
|
||||
[connection signal="pressed" from="CanvasLayer/ui/menu_button/HBoxContainer/MusicButton" to="." method="_on_MusicButton_pressed"]
|
||||
[connection signal="pressed" from="CanvasLayer/ui/menu_button/HBoxContainer/MenuButton" to="." method="_on_MenuButton_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user