OpenToonz - An open-source full-featured 2D animation creation software
C
Fix frame blending into Xsheet Toolbar
manongjohn98ab1afc7b76
diff --git a/toonz/sources/toonz/xshrowviewer.cpp b/toonz/sources/toonz/xshrowviewer.cppindex fe323d928..3b826ae70 100644--- a/toonz/sources/toonz/xshrowviewer.cpp+++ b/toonz/sources/toonz/xshrowviewer.cpp@@ -517,6 +517,12 @@ void RowArea::paintEvent(QPaintEvent *event) {drawPinnedCenterKeys(p, r0, r1);drawPlayRange(p, r0, r1);+ p.setPen(m_viewer->getVerticalLineColor());+ p.setBrush(Qt::NoBrush);+ if (m_viewer->orientation()->isVerticalTimeline())+ p.drawRect(toBeUpdated.adjusted(0, -1, -1, 0));+ else+ p.drawRect(toBeUpdated.adjusted(-1, 0, 0, -1));}//-----------------------------------------------------------------------------diff --git a/toonz/sources/toonzlib/orientation.cpp b/toonz/sources/toonzlib/orientation.cppindex 3c9171908..f352415ed 100644--- a/toonz/sources/toonzlib/orientation.cpp+++ b/toonz/sources/toonzlib/orientation.cpp@@ -290,7 +290,7 @@ TopToBottomOrientation::TopToBottomOrientation() {addRect(PredefinedRect::FRAME_LABEL,QRect(CELL_WIDTH / 2, 1, CELL_WIDTH / 2, CELL_HEIGHT - 2));addRect(PredefinedRect::FRAME_HEADER,- QRect(0, 0, FRAME_HEADER_WIDTH - 1, CELL_HEIGHT));+ QRect(0, 0, FRAME_HEADER_WIDTH, CELL_HEIGHT));addRect(PredefinedRect::PLAY_RANGE,QRect(PLAY_RANGE_X, 0, PLAY_MARKER_SIZE, CELL_HEIGHT));addRect(PredefinedRect::ONION,@@ -586,7 +586,7 @@ LeftToRightOrientation::LeftToRightOrientation() {addRect(PredefinedRect::FRAME_LABEL,QRect(CELL_WIDTH / 4, 1, CELL_WIDTH / 2, FRAME_HEADER_HEIGHT - 2));addRect(PredefinedRect::FRAME_HEADER,- QRect(0, 0, CELL_WIDTH, FRAME_HEADER_HEIGHT - 1));+ QRect(0, 0, CELL_WIDTH, FRAME_HEADER_HEIGHT));addRect(PredefinedRect::PLAY_RANGE,QRect(0, PLAY_RANGE_Y, CELL_WIDTH, PLAY_MARKER_SIZE));addRect(PredefinedRect::ONION,