Commit 29ca363
committed
fix(live-preview): keep LP panel open after popout while in design mode
In design mode the LP panel fills the editor area, so hiding it on
popout left the user with an empty workspace. Skip _setPanelVisibility(false)
when in design mode and capture the decision before the async
openUrlInBrowser so both code paths agree even if design mode flips
mid-call. Outside design mode, the original close-panel behavior is
unchanged.1 parent 7df8cb5 commit 29ca363
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
678 | 682 | | |
679 | 683 | | |
680 | 684 | | |
681 | 685 | | |
682 | 686 | | |
683 | | - | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
684 | 690 | | |
685 | 691 | | |
686 | 692 | | |
| |||
695 | 701 | | |
696 | 702 | | |
697 | 703 | | |
698 | | - | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
699 | 707 | | |
700 | 708 | | |
701 | 709 | | |
| |||
0 commit comments