add follow canvas movement and scale option to transparent checker (#311)

This commit is contained in:
Kinwailo 2020-08-18 03:30:58 +08:00 committed by GitHub
parent b998c87bcc
commit 39808082b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 93 additions and 7 deletions

View file

@ -9,6 +9,7 @@ onready var play_button : Button = $SettingsContainer/VBoxContainer/PlayButton
func _on_PreviewZoomSlider_value_changed(value : float) -> void:
camera.zoom = -Vector2(value, value)
camera.save_values_to_project()
camera.update_transparent_checker_offset()
func _on_PlayButton_toggled(button_pressed : bool) -> void: