Skip to content

Commit 88ee3dc

Browse files
committed
Fix css style pane bug.
1 parent efafe32 commit 88ee3dc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

develnext/src/ide/project/control/DesignProjectControlPane.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,13 @@ protected function makeUi()
7171
*/
7272
public function refresh()
7373
{
74-
$this->editor->requestFocus();
74+
if ($this->ui) {
75+
$this->ui->requestFocus();
76+
77+
uiLater(function () {
78+
$this->editor->requestFocus();
79+
});
80+
}
7581
// nop.
7682
}
7783
}

0 commit comments

Comments
 (0)