toggle transparency on model button hover for easier identification
This commit is contained in:
parent
5ba57ef249
commit
9c46e8183a
3 changed files with 23 additions and 17 deletions
|
|
@ -447,9 +447,10 @@ function space_init(data) {
|
|||
});
|
||||
|
||||
space.mouse.onDrag((delta, offset, up = false) => {
|
||||
const { mode, modes } = api;
|
||||
if (delta && delta.event.shiftKey) {
|
||||
selection.move(delta.x, delta.y, 0);
|
||||
} else {
|
||||
} else if (mode.is([ modes.object, modes.tool ])) {
|
||||
return api.objects().length > 0;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue