Make range boundaries smaller for layers to enable alt+click on icons (fix #2222)

This commit is contained in:
David Capello 2020-05-26 12:02:15 -03:00
parent d4b4dfd36d
commit 9b26e422f7

View File

@ -2861,7 +2861,7 @@ gfx::Rect Timeline::getRangeBounds(const Range& range) const
case Range::kLayers:
for (auto layer : range.selectedLayers()) {
layer_t layerIdx = getLayerIndex(layer);
rc |= getPartBounds(Hit(PART_ROW, layerIdx));
rc |= getPartBounds(Hit(PART_ROW_TEXT, layerIdx));
}
break;
}