SidePane: default size if no custom one in state

This commit is contained in:
miruka 2019-12-10 14:10:01 -04:00
parent ad6f111793
commit 29cf78fe18

View File

@ -6,7 +6,7 @@ import "../utils.js" as Utils
HDrawer { HDrawer {
id: sidePane id: sidePane
color: theme.sidePane.background color: theme.sidePane.background
normalSize: window.uiState.sidePaneManualWidth normalSize: window.uiState.sidePaneManualWidth || 300
minNormalSize: theme.controls.avatar.size + theme.spacing * 2 minNormalSize: theme.controls.avatar.size + theme.spacing * 2
onUserResized: { onUserResized: {