meowbay created and other things
This commit is contained in:
parent
09625d8285
commit
93cc1a8c59
35 changed files with 318 additions and 41 deletions
|
|
@ -1,6 +1,8 @@
|
|||
extends PanelContainer
|
||||
|
||||
@export var tooltip_label : Label
|
||||
@export var exdata_box : VBoxContainer
|
||||
@export var exdata_label : Label
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
|
|
@ -12,8 +14,13 @@ func _ready() -> void:
|
|||
func _process(delta: float) -> void:
|
||||
global_position = get_global_mouse_position() + Vector2(12,-6)
|
||||
|
||||
func show_tip(text : String):
|
||||
func show_tip(text : String, extra : String = ""):
|
||||
tooltip_label.text = text
|
||||
if extra != "":
|
||||
exdata_box.show()
|
||||
exdata_label.text = extra
|
||||
else:
|
||||
exdata_box.hide()
|
||||
reset_size()
|
||||
show()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue