Table -> Disable deletion by right-clicking
-
@Oli-Ullmann Oh, I just assumed we could react to mouse actions on a table in our own scripts? Maybe not. I've never done it.
-
@Oli-Ullmann said in Table -> Disable deletion by right-clicking:
Yes, I think I tried that too, and I believe there's that unpleasant behavior with the curve when you right click on an existing point.
And, yeah - you're right about that weird right-click behaviour. Every right click shifts the curve by a certain amount, probably related to the mouse Y position.
But looking more into the existing right-click-to-change-curve behaviour - I'm not sure I like that very much either. If you right-click-drag up/down to change a curve, but then drag left-right it affects all the other curves, which will probably be quite surprising to the user.
-
@dannytaurus said in Table -> Disable deletion by right-clicking:
Oh, I just assumed we could react to mouse actions on a table in our own scripts? Maybe not. I've never done it.
You can use a broadcaster. However, this only allows you to add additional functionality. I don't think this overwrites the original behavior of a table. I think you can only do this in the source code.
-
@dannytaurus said in Table -> Disable deletion by right-clicking:
And, yeah - you're right about that weird right-click behaviour. Every right click shifts the curve by a certain amount, probably related to the mouse Y position.
But looking more into the existing right-click-to-change-curve behaviour - I'm not sure I like that very much either. If you right-click-drag up/down to change a curve, but then drag left-right it affects all the other curves, which will probably be quite surprising to the user.
Yes, none of this is ideal! I'll take another look at it when I get a chance and let you know if I've been able to improve the behavior. In principle, it should be possible!
To prevent the curves of other points from changing when you drag to the left or right, you could create an index when you first click. In other words, the index of the point in question. And only this point would then be changed. I'll try to implement this when I get a chance. -
@dannytaurus said in Table -> Disable deletion by right-clicking:
right-click-to-change-curve behaviour - I'm not sure I like that very much either.
No, nor me. Having curve nodes would be much more up-to-date. Is there anyone here who could write a new table which can interface with the existing Hise modules (LFO / ShapeFX)? For $$....
-
@DanH said in Table -> Disable deletion by right-clicking:
right-click-to-change-curve behaviour
You can also use the mouse-wheel
-
@d-healey said in Table -> Disable deletion by right-clicking:
You can also use the mouse-wheel
No good for laptop users unfortunately.
-
@dannytaurus said in Table -> Disable deletion by right-clicking:
No good for laptop users unfortunately.
Most laptops have a scroll gesture, two fingers or similar. My Thinkpad has a scroll button, but I think that's uncommon.
Still clunky though.
-
@d-healey Yeah, scrolling with two fingers works like this on Mac, but that gesture doesn't trigger the curve adjustment. Not on my Mac anyway, and I don't think I've changed any of the trackpad settings. I usually like to stick to default settings as much as possible.
-
@dannytaurus You need to enable the scroll wheel behaviour with a HISE preprocessor, that might be the reason.
-
@DanH said in Table -> Disable deletion by right-clicking:
No, nor me. Having curve nodes would be much more up-to-date. Is there anyone here who could write a new table which can interface with the existing Hise modules (LFO / ShapeFX)? For $$....
Seriously though, can anyone help with this?!