mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
lint
This commit is contained in:
committed by
psychedelicious
parent
97d0757176
commit
c9c07968d2
@@ -45,7 +45,7 @@ export class CanvasMoveToolModule extends CanvasModuleBase {
|
||||
const { key } = e;
|
||||
const selectedEntity = this.manager.stateApi.getSelectedEntityAdapter();
|
||||
|
||||
if (! (selectedEntity && selectedEntity.$isInteractable.get())) {
|
||||
if (!(selectedEntity && selectedEntity.$isInteractable.get())) {
|
||||
return; // Early return if no entity is selected or it is disabled
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user