View Single Post
Old 04-07-2020, 09:43 AM   #1034
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,599
Default

I have some weirdness with 1.0:

Code:
v0.999

This one is fine

Code:
v1.0

This one stucks somewhere with redrawing/refreshing

The only difference in the code is Refresh_reaper(), on v1.0 is commented out since V1.0 has internal invalidate

Code:
Class script Line 103-106

function Element:draw(w,h)
    reaper.JS_Composite(track_window, self.x, self.y, self.w, self.h, self.bm, 0, 0, w, h)
    --Refresh_reaper()
end
Steps to reproduce:
1.Create multiple items like in gif
2. Create multiple selections (CTRL + SHIFT + DRAG)
3. Activate copy mode CRTL + C
4. Move items around

Last edited by Sexan; 02-13-2023 at 08:15 AM.
Sexan is online now   Reply With Quote