Skip to content

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

C

Merge opentoonz master with conflicts resolved.

manongjohn918bc7607cc0
diff --cc toonz/sources/toonz/xsheetviewer.cpp
index 08272c088,4f672952d..93111d425
--- a/toonz/sources/toonz/xsheetviewer.cpp
+++ b/toonz/sources/toonz/xsheetviewer.cpp
@@@ -817,10 -808,10 +817,10 @@@ QPoint XsheetViewer::positionToXY(cons
// area
// since the layers are flipped
- usePoint.setY(usePoint.y() + (fan->isActive(pos.layer())
+ usePoint.setY(usePoint.y() - o->cellHeight() + (fan->isActive(pos.layer())
- ? o->cellHeight()
- : o->foldedCellSize()));
- int columnCount = qMax(1, xsh->getColumnCount());
+ ? o->cellHeight()
+ : o->foldedCellSize()));
+ int columnCount = std::max(1, xsh->getColumnCount());
int colsHeight = o->colToLayerAxis(columnCount, fan);
if (colsHeight)