T O P I C R E V I E W |
rmklever |
Posted - Feb 18 2025 : 14:29:21 Hi,
I have a problem with undo and redo when working with layers.
It is easy to reproduce using the Layers_AllTypes demo (Layers.exe).
In the demo open a image and add a image layer to it. Then move the layer around a few times. Do undo all the way to the begining and do the redo to the latest state. You will see that the layer image changes to the background image...
Is this problem fixed in a later version or is there a workaround...
Roy M Klever Klever on Delphi - www.rmklever.com |
1 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Feb 18 2025 : 22:44:53 Hi Roy
I added this code in FormShow to the Layers_AllTypes demo
ImageEnView1.IO.LoadFromFile('D:\im.jpg' ); ImageEnView1.LayersAdd( 'D:\im3.jpg', 30, 200, 250, 250 );
Then I moved the second image layer 5 times. Then I called Edit > Undo 5 times. The last item offered to remove the layer as expected. Then I called Edit > Redo 5 times to return to the final state. I could not reproduce the issue.
What version of ImageEn are you using?
Nigel Xequte Software www.imageen.com
|
|
|