mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-30 18:01:24 +00:00
Font display using FlashPlayer fix - correct rect
This commit is contained in:
@@ -100,6 +100,9 @@ public class FlashPlayerPanel extends Panel implements Closeable, MediaDisplay {
|
||||
|
||||
@Override
|
||||
public synchronized int getTotalFrames() {
|
||||
if(flash==null){
|
||||
return 0;
|
||||
}
|
||||
if(flash.getReadyState() == 4){
|
||||
return flash.getTotalFrames();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user