mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[MSPAINT] Zoom tool shouldn't use undo buffer (#5778)
Remove PushImageForUndo call in Zoom tool. CORE-19214
This commit is contained in:
committed by
GitHub
parent
11b706429c
commit
8d8f4d328c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user