Update size label when changing project or scaling

This commit is contained in:
OverloadedOrama 2020-09-14 17:51:35 +03:00
parent cf2f477ff9
commit edf7e43bb8
2 changed files with 3 additions and 0 deletions

View file

@ -176,6 +176,7 @@ func change_project() -> void:
Global.horizontal_ruler.update()
Global.vertical_ruler.update()
Global.preview_zoom_slider.value = -Global.camera_preview.zoom.x
Global.cursor_position_label.text = "[%s×%s]" % [size.x, size.y]
Global.window_title = "%s - Pixelorama %s" % [name, Global.current_version]
if has_changed: