mirror of
https://github.com/haven1433/HexManiacAdvance.git
synced 2026-06-01 04:53:29 -05:00
allow long tablestreams to become multiline
useful for pokemon teams, which can get very wide
This commit is contained in:
parent
c1651807d6
commit
bdcd527858
|
|
@ -2040,10 +2040,10 @@ namespace HavenSoft.HexManiac.Core.ViewModels {
|
|||
child.SelectionEnd = endPoint;
|
||||
} else if (run is ITableRun tableRun) {
|
||||
child.Goto.Execute(tableRun.Start);
|
||||
child.Width = tableRun.Length;
|
||||
child.SelectionStart = child.ConvertAddressToViewPoint(startAddress);
|
||||
child.Width = tableRun.Length <= 32 ? tableRun.Length : tableRun.ElementLength;
|
||||
var endPoint = child.ConvertAddressToViewPoint(endAddress);
|
||||
child.Height = endPoint.Y - child.SelectionStart.Y + 1;
|
||||
child.Height = endPoint.Y + 1;
|
||||
child.SelectionStart = child.ConvertAddressToViewPoint(startAddress);
|
||||
child.SelectionEnd = endPoint;
|
||||
} else {
|
||||
child.Goto.Execute(startAddress.ToString("X2"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user