mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-09 22:59:30 +02:00
Fix selection shadow not updating when grid moves
This commit is contained in:
parent
9d9a7ead5b
commit
89b3a4d987
1 changed files with 3 additions and 0 deletions
|
@ -177,6 +177,8 @@ Grid = function(opts) {
|
||||||
color: gridColor,
|
color: gridColor,
|
||||||
alpha: gridAlpha,
|
alpha: gridAlpha,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
that.emitUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
function cleanup() {
|
function cleanup() {
|
||||||
|
@ -207,6 +209,7 @@ GridTool = function(opts) {
|
||||||
|
|
||||||
horizontalGrid.addListener(function(data) {
|
horizontalGrid.addListener(function(data) {
|
||||||
webView.eventBridge.emitScriptEvent(JSON.stringify(data));
|
webView.eventBridge.emitScriptEvent(JSON.stringify(data));
|
||||||
|
selectionDisplay.updateHandles();
|
||||||
});
|
});
|
||||||
|
|
||||||
webView.eventBridge.webEventReceived.connect(function(data) {
|
webView.eventBridge.webEventReceived.connect(function(data) {
|
||||||
|
|
Loading…
Reference in a new issue