resolve oversight in card refactoring
This commit is contained in:
parent
c9416492e3
commit
f028608c06
|
|
@ -204,7 +204,7 @@ func _move_sticky_note():
|
||||||
if (closest.position - position).length() > (closest.position - position).length():
|
if (closest.position - position).length() > (closest.position - position).length():
|
||||||
card = closest
|
card = closest
|
||||||
closest.highlighted = true
|
closest.highlighted = true
|
||||||
content.position = (closest.sticky_note_anchor.global_position - global_position) * hover_pos_shift
|
content.position = (closest.to_global(closest.sticky_note_position) - global_position) * hover_pos_shift
|
||||||
|
|
||||||
func is_sticky_note_attached() -> bool:
|
func is_sticky_note_attached() -> bool:
|
||||||
return attached_to is Card
|
return attached_to is Card
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue