Tagged: Undo action/button
aaaiiiParticipantDecember 15, 2019 at 6:36 pm #85789
Dont know if you got to see my reply to the “eraser” button problem i had. But i made a mistake by calling it eraser button when i actually ment the undo button. The reason i called it eraser button was because i made an eraser icon for the undo button.
I followed the tutorial and the undo action is working but not straight away when choosing the undo button i’ve made. The undo button only works if i after choosing it, then go to another page and back again to the painting page. (Allmost as the page/app needs to refresh or something.) All the other functions is working properly like choosing color, change brush size, erase canvas by shaking and taking a picture.
Do you know what could be the problem to the undo button problem?December 18, 2019 at 8:08 pm #85792
>The undo button only works if i after choosing it, then go to another page and back again to the painting page. (Allmost as the page/app needs to refresh or something.)
So it only happens in your project? You can zip the project folder and send it to firstname.lastname@example.org, I will look into it.aaaiiiParticipantJanuary 3, 2020 at 6:31 am #85794
I found a solution for the undo button i made. Since the canvas layer is white I made the undo/eraser button use the the white color instead 🙂email@example.comParticipantApril 15, 2020 at 5:37 pm #86036
Was a solution ever found for this? I have tried using the “undo” function (and the “redo”), but it doesn’t seem to actually do anything. The error is flagged in the simulator:
canvasAction.lua:33: attempt to get length of global ‘undone’ (a nil value)April 16, 2020 at 7:28 pm #86038
I will review the code of Kwik why ‘undone’ could become a nil til tomorrow.April 17, 2020 at 11:49 am #86040
I have fixed the bug. Please download the following files from the gitHub. I will include these files to the build of Kwik tomorrow.
You must be logged in to reply to this topic.