finale-lua / lua-scripts

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

Update rest_slider.lua #721

Closed cv-on-hub closed 3 months ago

cv-on-hub commented 3 months ago

Implemented RegisterMouseTracking in RGPLua 0.72 to reduce redundant UndoBlock registrations. Hurt my head at first, but then proved to be really simple and effective. Have left HandlesUndo false for Modal use, since the single default UndoBlock remains most useful in that mode.

cv-on-hub commented 3 months ago

PS: many thanks @rpatters1 for the slider_control.lua sample file. Thanks to that I got this up and running in less than an hour.