Prior to this change, the mouse selection box had a fixed position on the page. Nodes have absolute position within NodeView. This inconsistency in positioning caused issues when calculating if a node was positioned within the mouse selection. This solution makes both nodes and mouse selection have consistent positioning, along with correctly calculating the mouse click position within NodeView when making a selection.
This commit is contained in:
@@ -2139,6 +2139,7 @@ export default mixins(
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
|
||||
.node-view-background {
|
||||
|
||||
Reference in New Issue
Block a user