mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-12-22 20:32:38 +01:00
Set drop areas to "not highlighted" by default
This commit is contained in:
parent
751434c4d8
commit
f2b8a252a1
2 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ var hovered = false
|
|||
var highlighted = false setget _set_highlighted
|
||||
|
||||
func _ready():
|
||||
pass
|
||||
_set_highlighted(false)
|
||||
|
||||
func _mouse_entered():
|
||||
hovered = true
|
||||
|
|
|
@ -21,9 +21,9 @@ shape = SubResource( 1 )
|
|||
[node name="Highlight" type="Node2D" parent="."]
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="Highlight"]
|
||||
modulate = Color( 0.65098, 0.560784, 0.890196, 0.533333 )
|
||||
position = Vector2( -0.302734, -1.13884 )
|
||||
scale = Vector2( 0.921018, 0.921018 )
|
||||
modulate = Color( 0.847059, 0.788235, 0.996078, 0.533333 )
|
||||
position = Vector2( 0.177797, -0.65835 )
|
||||
scale = Vector2( 1.23678, 1.23678 )
|
||||
texture = ExtResource( 2 )
|
||||
[connection signal="mouse_entered" from="Area2D" to="." method="_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="Area2D" to="." method="_mouse_exited"]
|
||||
|
|
Loading…
Reference in a new issue