fixes delete key binding to be routed thru e4 framework

This commit is contained in:
eyck committed 2026-11-15 15:49:09 +01:00
1 parent 336aef269d
commit 000578d72a
6 files changed
+58 -16

No files matched your search

@@ -47,7 +47,7 @@ public class TrackAreaPainter implements IPainter {
Integer lastKey = trackVerticalOffset.floorKey(area.y+area.height);
//if(lastKey==null) lastKey= trackVerticalOffset.lastKey();
Rectangle subArea = new Rectangle(area.x, 0, area.width, 0);
if(lastKey.equals(firstKey)){
if(lastKey != null && lastKey.equals(firstKey)){
subArea.y=firstKey;
IWaveformPainter p = trackVerticalOffset.get(firstKey);
subArea.height=p.getHeight();