adamwulf / JotUI

OpenGL based drawing view built for and used by Loose Leaf for iPad
http://getlooseleaf.com/opensource/
MIT License
268 stars 28 forks source link

Can We increase number of undo/redo actions ? #12

Closed KrLikeblue closed 7 years ago

KrLikeblue commented 7 years ago

Hello Adam :)

I was doing undo/redo actions and those functions are limited, I think upto 10 undo actions

So Can we increase the limit for that ?

Can you let me know where I will have to change.

Thanks.

adamwulf commented 7 years ago

You can change that to any number you like in JotViewState.m. The constant is at the top of that file: kJotDefaultUndoLimit

KrLikeblue commented 7 years ago

Thanks Adam :)