mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 21:24:44 -04:00
Added a seconds ruler for the timeline & changed brushes position
This commit is contained in:
parent
d70c1e5714
commit
e895e82a95
10 changed files with 267 additions and 228 deletions
|
@ -69,8 +69,6 @@ func camera_zoom() -> void:
|
|||
|
||||
#Set camera offset to the center of canvas
|
||||
Global.camera.offset = size / 2
|
||||
#Global.camera.offset.x = size.x / 2 + Global.main_viewport.rect_size.x / 2 * -Global.camera.zoom.x
|
||||
#Global.camera.offset.y = size.y / 2 + Global.main_viewport.rect_size.y / 2 * -Global.camera.zoom.y
|
||||
Global.camera2.offset = size / 2
|
||||
|
||||
# warning-ignore:unused_argument
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue