mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-26 15:25:35 +00:00
Fixed: Hex View - incorrect table height when switching tags
This commit is contained in:
@@ -82,6 +82,7 @@ All notable changes to this project will be documented in this file.
|
||||
- [#2519] AS1/2 avoid multi-level loops in cases where possible
|
||||
- [#2522] Hex view - reseting view when mouse over panel bottom
|
||||
- [#2519] AS1/2 direct editation - generating too large ConstantPool
|
||||
- Hex View - incorrect table height when switching tags
|
||||
|
||||
### Changed
|
||||
- Icon of "Deobfuscation options" menu from pile of pills to medkit
|
||||
|
||||
@@ -200,7 +200,10 @@ public class HexView extends JTable {
|
||||
int row = table.rowAtPoint(point);
|
||||
int idx = getIdxByColAndRow(row, col);
|
||||
mouseOverIdx = idx;
|
||||
getModel().fireTableCellUpdated(row, col);
|
||||
|
||||
if (row > -1 && col > -1) {
|
||||
getModel().fireTableCellUpdated(row, col);
|
||||
}
|
||||
|
||||
if (listener != null) {
|
||||
listener.byteMouseMoved(idx, idx == -1 ? 0 : getModel().getData()[idx]);
|
||||
|
||||
@@ -83,6 +83,7 @@ public class HexViewTableModel extends AbstractTableModel {
|
||||
|
||||
public void setData(byte[] data) {
|
||||
this.data = data;
|
||||
fireTableDataChanged();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user