]> gerrit.simantics Code Review - simantics/district.git/commit
Fixed rendering of district hover info node to always stay inside editor 87/3487/2
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sun, 10 Nov 2019 22:28:20 +0000 (00:28 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sun, 10 Nov 2019 22:36:22 +0000 (22:36 +0000)
commit900f0e33431c1e3ea7d94d73cbf4d21f533dac26
tree22752c2219694e6760469e778dbb1bf1bf8e23d7
parent320681ec7f81eccbdaf8b168ee001d0a43df31f1
Fixed rendering of district hover info node to always stay inside editor

Previously hovering on top of things near the edge of the editor would
place the hover info box partially outside of the canvas. With these
changes, the info box always stays within the canvas, given that the
canvas is large enough to show the box in the first place.

gitlab #44

Change-Id: I0869358687c9ac12dcf6fb54c9d39594d7ab6241
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkHoverInfoNode.java