Fixed: #2522 Hex view - reseting view when mouse over panel bottom

This commit is contained in:
Jindra Petřík
2025-08-23 18:43:44 +02:00
parent 0cd71068c4
commit cf55a8b897
2 changed files with 5 additions and 1 deletions

View File

@@ -76,6 +76,7 @@ All notable changes to this project will be documented in this file.
- AS1/2 Renaming of identifiers must not rename integer array offsets
- [#2517] Loop break detection problems in some cases
- [#2519] AS1/2 avoid multi-level loops in cases where possible
- [#2522] Hex view - reseting view when mouse over panel bottom
### Changed
- Icon of "Deobfuscation options" menu from pile of pills to medkit
@@ -3990,6 +3991,7 @@ Major version of SWF to XML export changed to 2.
[#2515]: https://www.free-decompiler.com/flash/issues/2515
[#2516]: https://www.free-decompiler.com/flash/issues/2516
[#2517]: https://www.free-decompiler.com/flash/issues/2517
[#2522]: https://www.free-decompiler.com/flash/issues/2522
[#2476]: https://www.free-decompiler.com/flash/issues/2476
[#2404]: https://www.free-decompiler.com/flash/issues/2404
[#1418]: https://www.free-decompiler.com/flash/issues/1418

View File

@@ -181,7 +181,9 @@ public class HexView extends JTable {
int col = table.columnAtPoint(point);
int row = table.rowAtPoint(point);
mouseOverIdx = -1;
getModel().fireTableCellUpdated(row, col);
if (row > -1 && col > -1) {
getModel().fireTableCellUpdated(row, col);
}
if (listener != null) {
listener.byteMouseMoved(-1, (byte) 0);
}