resolve oversight in card refactoring

This commit is contained in:
betalars 2025-04-27 13:04:11 +02:00
parent c9416492e3
commit f028608c06
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ func _move_sticky_note():
if (closest.position - position).length() > (closest.position - position).length():
card = closest
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:
return attached_to is Card