diff --git a/stuff/config/qss/Default/imgs/black/x_lock_off.svg b/stuff/config/qss/Default/imgs/black/x_lock_off.svg index 07e7232..edd6950 100644 --- a/stuff/config/qss/Default/imgs/black/x_lock_off.svg +++ b/stuff/config/qss/Default/imgs/black/x_lock_off.svg @@ -7,10 +7,8 @@ - - + + - - + + \ No newline at end of file diff --git a/stuff/config/qss/Default/imgs/white/x_lock_off.svg b/stuff/config/qss/Default/imgs/white/x_lock_off.svg index 951cccd..4bd142f 100644 --- a/stuff/config/qss/Default/imgs/white/x_lock_off.svg +++ b/stuff/config/qss/Default/imgs/white/x_lock_off.svg @@ -1,18 +1,16 @@ - + + id="svg6" inkscape:version="0.91 r13725" sodipodi:docname="x_lock_off.svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 17 17" + style="enable-background:new 0 0 17 17;" xml:space="preserve"> - - + + - + diff --git a/toonz/sources/toonz/xshcolumnviewer.cpp b/toonz/sources/toonz/xshcolumnviewer.cpp index 3a63553..0fe6183 100644 --- a/toonz/sources/toonz/xshcolumnviewer.cpp +++ b/toonz/sources/toonz/xshcolumnviewer.cpp @@ -1887,6 +1887,9 @@ void ColumnArea::mousePressEvent(QMouseEvent *event) { // synchronize the current column and the current fx TApp::instance()->getCurrentFx()->setFx(column->getFx()); } else if (m_col >= 0) { + if (m_viewer->getColumnSelection()->isColumnSelected(m_col) && + event->button() == Qt::RightButton) + return; setDragTool(XsheetGUI::DragTool::makeColumnSelectionTool(m_viewer)); TApp::instance()->getCurrentFx()->setFx(0); } diff --git a/toonz/sources/toonz/xsheetdragtool.cpp b/toonz/sources/toonz/xsheetdragtool.cpp index f63366d..fe52e20 100644 --- a/toonz/sources/toonz/xsheetdragtool.cpp +++ b/toonz/sources/toonz/xsheetdragtool.cpp @@ -1767,8 +1767,9 @@ public: int frameAxis = o->frameAxis(event->pos()); if (o->isVerticalTimeline() && !o->flag(PredefinedFlag::VOLUME_AREA_VERTICAL)) { - range = o->layerSide(track); - frameAxis = o->layerAxis(event->pos()) - getViewer()->columnToLayerAxis(m_index); + range = o->layerSide(track); + frameAxis = + o->layerAxis(event->pos()) - getViewer()->columnToLayerAxis(m_index); } double v = range.ratio(frameAxis);