mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 21:04:43 -04:00
add follow canvas movement and scale option to transparent checker (#311)
This commit is contained in:
parent
b998c87bcc
commit
39808082b6
9 changed files with 93 additions and 7 deletions
|
@ -15,11 +15,7 @@ func _on_FitToFrame_pressed():
|
|||
|
||||
|
||||
func _on_100_pressed():
|
||||
Global.camera.zoom = Vector2.ONE
|
||||
Global.camera.offset = Global.current_project.size / 2
|
||||
Global.zoom_level_label.text = str(round(100 / Global.camera.zoom.x)) + " %"
|
||||
Global.horizontal_ruler.update()
|
||||
Global.vertical_ruler.update()
|
||||
Global.camera.zoom_100()
|
||||
|
||||
|
||||
func get_config() -> Dictionary:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue