enso/lib/rust
Michael Mauderer 7a40ccc3ea
Fix wrong placement of nodes created from dropped files. (#5906)
Right now, we use the cursor position to determine the target position for dropped items. However, it seems that during dragging of files, we do not always receive mouse events, thus cannot update the cursor position. To avoid this, this PR refactors the functionality to use the location of the drop event, instead of the last known cursor position.

Fixes #5237.

https://user-images.githubusercontent.com/1428930/224735951-9cd6ff62-a749-4ff3-8437-c0bee3c0dd05.mp4
2023-03-17 20:52:13 +00:00
..
automata Bump rustc to nightly-2023-01-12 (#4053) 2023-02-02 23:05:25 +00:00
bitmap Precompute MSDFs (#5811) 2023-03-10 12:59:56 +00:00
callback support custom widget entry labels (#5705) 2023-03-17 10:06:32 +00:00
code-builder Defer dropdown view initialization until opened and cache shaders between layers (#4046) 2023-01-13 15:30:38 +00:00
config-reader Bump rustc to nightly-2023-01-12 (#4053) 2023-02-02 23:05:25 +00:00
data-structures Bump rustc to nightly-2023-01-12 (#4053) 2023-02-02 23:05:25 +00:00
debug-api Dependency cleaning (#4092) 2023-01-27 23:39:37 +01:00
ensogl Fix wrong placement of nodes created from dropped files. (#5906) 2023-03-17 20:52:13 +00:00
executor Optimize opening dropdown (#5688) 2023-02-18 11:31:57 -08:00
frp support custom widget entry labels (#5705) 2023-03-17 10:06:32 +00:00
fuzzly Better sorting after filtering items in the Component Browser (#4115) 2023-03-16 11:23:40 +00:00
generics Dependency cleaning (#4092) 2023-01-27 23:39:37 +01:00
json-rpc Bump rustc to nightly-2023-01-12 (#4053) 2023-02-02 23:05:25 +00:00
json-to-struct Fixing Electron runner (#5633) 2023-02-19 01:37:58 +01:00
launcher-shims Bump rustc to nightly-2023-01-12 (#4053) 2023-02-02 23:05:25 +00:00
logging Reworked ide watch and ide start commands (#5634) 2023-03-02 23:00:47 +01:00
macro-utils Reworked ide watch and ide start commands (#5634) 2023-03-02 23:00:47 +01:00
metamodel Bump rustc to nightly-2023-01-12 (#4053) 2023-02-02 23:05:25 +00:00
notification Implement documentation IR (#4024) 2023-01-12 14:50:33 +00:00
parser Fix precedence of -1.x (#5830) 2023-03-17 18:53:34 +00:00
prelude Fixing Electron runner (#5633) 2023-02-19 01:37:58 +01:00
profiler Remove glyph FRP (#5725) 2023-03-06 23:16:52 +00:00
reflect Reworked ide watch and ide start commands (#5634) 2023-03-02 23:00:47 +01:00
shapely Reworked ide watch and ide start commands (#5634) 2023-03-02 23:00:47 +01:00
shortcuts Bump rustc to nightly-2023-01-12 (#4053) 2023-02-02 23:05:25 +00:00
text Editing via esc does not correctly update node view (#3799) 2022-10-25 15:37:49 +00:00
types Bump rustc to nightly-2023-01-12 (#4053) 2023-02-02 23:05:25 +00:00
web support custom widget entry labels (#5705) 2023-03-17 10:06:32 +00:00