mirror of
https://github.com/haven1433/HexManiacAdvance.git
synced 2026-10-01 20:56:36 -05:00
handle edge case clicking outside of data
This commit is contained in:
@@ -256,6 +256,7 @@ namespace HavenSoft.HexManiac.Core.ViewModels {
|
||||
if (compositeLine >= 0) line = compositeLine;
|
||||
|
||||
var range = childrenSelection[childIndex];
|
||||
if (compositeChildIndex == -1 && range is SelectionRangeGroup) return;
|
||||
if (range is SelectionRangeGroup group) range = group[compositeChildIndex];
|
||||
|
||||
if (child.Model.GetNextRun(child.DataOffset) is ITableRun) {
|
||||
|
||||
Reference in New Issue
Block a user