From 582b9baedbdedfc3437d4c5804e2ca79a6474f38 Mon Sep 17 00:00:00 2001 From: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com> Date: Sun, 12 Jan 2020 02:51:12 +0200 Subject: [PATCH] The canvas updates automatically when onion skinning settings change. --- Changelog.md | 1 + Scripts/Main.gd | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Changelog.md b/Changelog.md index d7bca09d1..06fb6aa71 100644 --- a/Changelog.md +++ b/Changelog.md @@ -28,6 +28,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fixed crash that occured when pressing the play buttons on the timeline, on Godot 3.2 - Issue #111 - Fixed bug where, if you had a random brush selected and then selected the pencil tool, "brush color from" did not appear. - Fixed crash on Godot 3.2.beta6 when pressing the Edit Palette button. +- The canvas updates automatically when onion skinning settings change. ## [v0.6] - 06-01-2020 diff --git a/Scripts/Main.gd b/Scripts/Main.gd index 9c18860cd..bb3f05824 100644 --- a/Scripts/Main.gd +++ b/Scripts/Main.gd @@ -854,12 +854,15 @@ func _on_FPSValue_value_changed(value) -> void: func _on_PastOnionSkinning_value_changed(value) -> void: Global.onion_skinning_past_rate = int(value) + Global.canvas.update() func _on_FutureOnionSkinning_value_changed(value) -> void: Global.onion_skinning_future_rate = int(value) + Global.canvas.update() func _on_BlueRedMode_toggled(button_pressed) -> void: Global.onion_skinning_blue_red = button_pressed + Global.canvas.update() func _on_ColorSwitch_pressed() -> void: var temp: Color = Global.left_color_picker.color