[MSPAINT] Zoom tool shouldn't use undo buffer (#5778)

Remove PushImageForUndo call in Zoom tool. CORE-19214
This commit is contained in:
Katayama Hirofumi MZ
2023-10-09 08:07:02 +09:00
committed by GitHub
parent 11b706429c
commit 8d8f4d328c

View File

@@ -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)