HistoryStates always returns 50

,

require(‘photoshop’).app.activeDocument.historyStates

Returns 50. I do more actions (mixture of brush strokes, eraser) and I can see the history pane showing these new actions. This code again returns 50.

This is a breaking bug for the work I’m using UXP for. Any advice please?

@kerrishotts @Jarda

Maybe this is tied to this setting?

1 Like

It should return proxy: https://developer.adobe.com/photoshop/uxp/2022/ps_reference/classes/historystates/

If you want more history steps, change PS settings.

1 Like

@Jarda @tomzag
Thank you both. This makes sense. Sadly, it’s a default of 50 I believe. Which means our users would need to change it.

Thanks for your help.