mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-29 10:24:38 +00:00
Fixed: #2400 Transforming - buttons must use hittest frame outline
This commit is contained in:
@@ -1296,6 +1296,9 @@ public class Timeline {
|
||||
renderContext.stateUnderCursor.add(layer);
|
||||
}
|
||||
} else if (absMat.transform(new ExportRectangle(boundRect)).contains(cursorPositionInView)) {
|
||||
if ((drawable instanceof ButtonTag) && !renderContext.enableButtons) {
|
||||
dframe = ButtonTag.FRAME_HITTEST;
|
||||
}
|
||||
Shape shape = drawable.getOutline(true, dframe, dtime, layer.ratio, renderContext, absMat, true, viewRect, unzoom);
|
||||
if (shape.contains(cursorPositionInView)) {
|
||||
renderContext.stateUnderCursor.add(layer);
|
||||
|
||||
Reference in New Issue
Block a user