finale-lua / lua-scripts

A central repository for all Lua scripts for Finale.
https://finalelua.com
Creative Commons Zero v1.0 Universal
15 stars 14 forks source link

Update rest_slider.lua #709

Closed cv-on-hub closed 6 months ago

cv-on-hub commented 7 months ago

Fixed error when modelss->modal transition left an unclosed UndoBlock (active Tool left undefined!); combined the three data initialisation routines; neatened selection ID; allowed for empty staff names; modal->modeless transition is re-entrant.

rpatters1 commented 6 months ago

I'm merging this now, but you may be interested in using the new RegisterMouseTracking... methods in FCCustomLuaWindow. These could reduce the number of Undo blocks when running modeless.

cv-on-hub commented 6 months ago

you may be interested in using the new RegisterMouseTracking... methods

Yes - I saw this in 0.72 and will check it out.