mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-18 12:27:37 +00:00
Running Locate Object or Locate Layer again on the row it already highlighted wrote the same highlight, so the Layers panel did not open the layers around the row or scroll to it: a sublayer whose layer was closed since stayed hidden. layer.locate now leaves a one-time request on the document (DocState::locate_reveal) that the panel takes on its next frame, opening the layers around the located row and scrolling to it whether or not the highlight changed. The request is not saved and adds no undo step, and the panel drops it when the row is no longer highlighted.