OpenToonz - An open-source full-featured 2D animation creation software
C
Fix(XshToolBar): Use geometry().width() to get width
Abel Youab0998e36307
diff --git a/toonz/sources/toonz/xsheetviewer.cpp b/toonz/sources/toonz/xsheetviewer.cppindex cf59f81a0..d9f26daf1 100644--- a/toonz/sources/toonz/xsheetviewer.cpp+++ b/toonz/sources/toonz/xsheetviewer.cpp@@ -415,7 +415,7 @@ void XsheetViewer::positionSections() {if (Preferences::instance()->isShowXSheetToolbarEnabled()) {m_toolbar->showToolbar(true);- int w = visibleRegion().boundingRect().width();+ int w = geometry().width();m_toolbarScrollArea->setGeometry(0, 0, w, XsheetGUI::TOOLBAR_HEIGHT);m_toolbar->setFixedWidth(w);if (o->isVerticalTimeline()) {