Use custom chat resizer values.

This commit is contained in:
Paulo Reis 2017-11-30 15:24:48 +00:00
parent 826f49b9a4
commit 3a959cccfd
2 changed files with 4 additions and 2 deletions

View file

@ -43,8 +43,8 @@ block content
#chat-wrapper.full-size( #chat-wrapper.full-size(
layout="chat", layout="chat",
spacing-open="12", spacing-open="{{ui.chatResizerSizeOpen}}",
spacing-closed="0", spacing-closed="{{ui.chatResizerSizeClosed}}",
initial-size-east="250", initial-size-east="250",
init-closed-east="true", init-closed-east="true",
open-east="ui.chatOpen", open-east="ui.chatOpen",

View file

@ -76,6 +76,8 @@ define [
pdfWidth: 0 pdfWidth: 0
reviewPanelOpen: localStorage("ui.reviewPanelOpen.#{window.project_id}") reviewPanelOpen: localStorage("ui.reviewPanelOpen.#{window.project_id}")
miniReviewPanelVisible: false miniReviewPanelVisible: false
chatResizerSizeOpen: window.uiConfig.chatResizerSizeOpen
chatResizerSizeClosed: window.uiConfig.chatResizerSizeClosed
} }
$scope.onboarding = { $scope.onboarding = {
autoCompile: if window.showAutoCompileOnboarding then 'unseen' else 'dismissed' autoCompile: if window.showAutoCompileOnboarding then 'unseen' else 'dismissed'