mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 15:44:42 -04:00
Improve the status bar display
- Display zoom as a percentage, to be more in line with other 2D editing applications. - Increase spacing between labels. - Use the Unicode multiplication sign.
This commit is contained in:
parent
224316256c
commit
9bdc0e16b6
3 changed files with 12 additions and 9 deletions
|
@ -34,4 +34,4 @@ func zoom_camera(dir : int) -> void:
|
|||
if zoom > zoom_max:
|
||||
zoom = zoom_max
|
||||
if name == "Camera2D":
|
||||
Global.zoom_level_label.text = "Zoom: x%s" % [stepify(1 / zoom.x, 0.01)]
|
||||
Global.zoom_level_label.text = str(round(100 / Global.camera.zoom.x)) + " %"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue