ingen icon indicating copy to clipboard operation
ingen copied to clipboard

Place newly created modules directly under the cursor

Open samuellwn opened this issue 4 years ago • 2 comments

This PR calculates a better position for new modules. The old method could be badly wrong, especially in multi-monitor setups. I only tested on Linux.

samuellwn avatar Jul 20 '21 01:07 samuellwn

This doesn't account for zoom. If the graph has been zoomed in or out the position will be inaccurate.

samuellwn avatar Jul 20 '21 02:07 samuellwn

Thanks, I'll check it out. I had noticed that the module position is wonky sometimes but hadn't looked into it (largely because I'm in the process of rewriting the whole canvas anyway, but that will still be a while...)

drobilla avatar Jul 26 '21 18:07 drobilla