mirror of
https://github.com/enso-org/enso.git
synced 2024-11-24 08:41:40 +03:00
698a6a0674
[ci no changelog needed] [Task link](https://www.pivotaltracker.com/story/show/181870555) This PR changes the relative position of the edited node in such a way that it is left-aligned to the component browser window. This change reflects the most recent version of the [design doc](https://github.com/enso-org/design/blob/main/epics/component-browser/design.md#overview) <img width="1157" alt="Screenshot 2022-08-08 at 19 15 47" src="https://user-images.githubusercontent.com/6566674/183454192-81960e0a-ab69-43a4-b7df-d13320a9d16d.png"> As an additional change, the FRP implementation of the `Camera2d` was extended with a new output (screen dimensions) and fixed. With the old implementation, there was a possibility of panic at runtime because of non-exclusive borrows of `RefCell`. The FRP event for camera position was emited inside the scope with a mutable `RefCell` borrow. Any attempt to borrow the camera one more time (e.g., by calling one of the getters, such as `zoom()`) caused panic at runtime. |
||
---|---|---|
.. | ||
automata | ||
build-utils | ||
callback | ||
code-builder | ||
config-reader | ||
data-structures | ||
debug-api | ||
ensogl | ||
frp | ||
fuzzly | ||
generics | ||
json-rpc | ||
launcher-shims | ||
logger | ||
macro-utils | ||
metamodel | ||
optics | ||
parser | ||
prelude | ||
profiler | ||
reflect | ||
shapely | ||
shortcuts | ||
text | ||
types | ||
web |