mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:42:57 +00:00
[MSPAINT] Zoom tool shouldn't use undo buffer (#5778)
Remove PushImageForUndo call in Zoom tool. CORE-19214
This commit is contained in:
parent
11b706429c
commit
8d8f4d328c
1 changed files with 0 additions and 1 deletions
|
@ -571,7 +571,6 @@ struct ZoomTool : ToolBase
|
||||||
|
|
||||||
void OnButtonDown(BOOL bLeftButton, LONG x, LONG y, BOOL bDoubleClick) override
|
void OnButtonDown(BOOL bLeftButton, LONG x, LONG y, BOOL bDoubleClick) override
|
||||||
{
|
{
|
||||||
imageModel.PushImageForUndo();
|
|
||||||
if (bLeftButton)
|
if (bLeftButton)
|
||||||
{
|
{
|
||||||
if (toolsModel.GetZoom() < MAX_ZOOM)
|
if (toolsModel.GetZoom() < MAX_ZOOM)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue