Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Fix(XsheetDepth): Invisible after startup

Abel You4d6a9c440a1c
diff --git a/toonz/sources/toonz/xsheetviewer.cpp b/toonz/sources/toonz/xsheetviewer.cpp
index d9f26daf1..7c8bb2ff7 100644
--- a/toonz/sources/toonz/xsheetviewer.cpp
+++ b/toonz/sources/toonz/xsheetviewer.cpp
@@ -434,7 +434,7 @@ void XsheetViewer::positionSections() {
if (Preferences::instance()->isShowXsheetBreadcrumbsEnabled()) {
m_breadcrumbArea->showBreadcrumbs(true);
- int w = visibleRegion().boundingRect().width();
+ int w = geometry().width();
if (o->isVerticalTimeline())
m_breadcrumbScrollArea->setGeometry(0, headerFrame.from(), w,
XsheetGUI::BREADCRUMB_HEIGHT);