[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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)