https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8d8f4d328c8d6a663107cf...
commit 8d8f4d328c8d6a663107cfc6c28a554e3e60d71c Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Mon Oct 9 08:07:02 2023 +0900 Commit: GitHub noreply@github.com CommitDate: Mon Oct 9 08:07:02 2023 +0900
[MSPAINT] Zoom tool shouldn't use undo buffer (#5778)
Remove PushImageForUndo call in Zoom tool. CORE-19214 --- base/applications/mspaint/mouse.cpp | 1 - 1 file changed, 1 deletion(-)
diff --git a/base/applications/mspaint/mouse.cpp b/base/applications/mspaint/mouse.cpp index 8412cc027c0..20a8e2157e4 100644 --- a/base/applications/mspaint/mouse.cpp +++ b/base/applications/mspaint/mouse.cpp @@ -571,7 +571,6 @@ struct ZoomTool : ToolBase
void OnButtonDown(BOOL bLeftButton, LONG x, LONG y, BOOL bDoubleClick) override { - imageModel.PushImageForUndo(); if (bLeftButton) { if (toolsModel.GetZoom() < MAX_ZOOM)