summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/PixelPaint/Tools/CloneTool.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Applications/PixelPaint/Tools/CloneTool.cpp b/Userland/Applications/PixelPaint/Tools/CloneTool.cpp
index 8b73bf1a8f..d249aa8212 100644
--- a/Userland/Applications/PixelPaint/Tools/CloneTool.cpp
+++ b/Userland/Applications/PixelPaint/Tools/CloneTool.cpp
@@ -144,7 +144,9 @@ ErrorOr<GUI::Widget*> CloneTool::get_properties_widget()
size_slider->set_value(size());
size_slider->on_change = [this](int value) {
+ auto old_sample_marker_rect = sample_marker_rect();
set_size(value);
+ update_sample_marker(old_sample_marker_rect);
};
set_primary_slider(size_slider);