Browse Source

Show delete drag target only in design mode

master
Kenneth Bruen 2 years ago
parent
commit
76c911e697
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 3
      lib/pages/design_component.dart

3
lib/pages/design_component.dart

@ -418,6 +418,7 @@ class DesignComponentPage extends HookWidget {
// disposeController: false, // disposeController: false,
backgroundColor: Theme.of(context).colorScheme.background, backgroundColor: Theme.of(context).colorScheme.background,
), ),
if (!isSimulating.value)
Positioned( Positioned(
bottom: 0, bottom: 0,
right: 0, right: 0,
@ -438,7 +439,7 @@ class DesignComponentPage extends HookWidget {
), ),
), ),
), ),
) ),
], ],
), ),
); );

Loading…
Cancel
Save