Skip to content

Commit

Permalink
Merge pull request #1964 from Heigvd/WEG-52-fix-epileptic-panel-size-…
Browse files Browse the repository at this point in the history
…change

WEG-52 Fix epileptic script panel resize
  • Loading branch information
TehAwol authored Jun 26, 2024
2 parents d2f8725 + cc21abd commit 3a0c132
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@ export function CustomLibraryEditorView({
</TreeView>
</ReflexElement>
<ReflexSplitter />
<ReflexElement flex={currentLibrary == null ? 1 : 5}>
{/* The overflow: hidden is set to avoid epileptic size changes */}
<ReflexElement flex={currentLibrary == null ? 1 : 5} style={{overflow: "hidden"}}>
{currentLibrary == null ? (
'No library selected yet'
) : (
Expand Down

0 comments on commit 3a0c132

Please sign in to comment.