diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-09-20 14:48:15 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-09-20 18:23:57 -0700 |
commit | f42dee8ac2e40e02ffd2b177f7d97e1b4ba8acea (patch) | |
tree | 70ac647cdd10f921562c674e1fc3e33398d2e21b /theme/jqplot.highlighter.min.js | |
parent | 43390d4a9aa1a6c78e36ae2dd32e8421f9060c92 (diff) | |
download | subsurface-f42dee8ac2e40e02ffd2b177f7d97e1b4ba8acea.tar.gz |
selection: when changing current dive make sure it is selected
When an undo command selected invisible dives, a current dive outside
of the list of selected dives was chosen. This could have the very
unfortunate effect that the current dive was set, though not selected.
From an UI point of view this meant that the dive was displayed, but
edits would not be registered.
Change the setClosestCurrentDive function to select the current dive.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme/jqplot.highlighter.min.js')
0 files changed, 0 insertions, 0 deletions