mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 22:10:18 +00:00
Shorten the palette crossfade to 70 ms
The 150 ms fade made switching feel sluggish. Model used: Opus 5.5
This commit is contained in:
1 parent
547c52540a
commit
6900f270ee
1 file changed
+1
-1
@@ -26,7 +26,7 @@ import java.util.concurrent.TimeUnit;
|
|||||||
* the first frame of the new one, so switching never shows an empty view in between.
|
* the first frame of the new one, so switching never shows an empty view in between.
|
||||||
*/
|
*/
|
||||||
final class FrameCrossfade {
|
final class FrameCrossfade {
|
||||||
private static final long FADE_NANOS = TimeUnit.MILLISECONDS.toNanos(150L);
|
private static final long FADE_NANOS = TimeUnit.MILLISECONDS.toNanos(70L);
|
||||||
private static final int REPAINT_INTERVAL_MILLIS = 16;
|
private static final int REPAINT_INTERVAL_MILLIS = 16;
|
||||||
|
|
||||||
private final Timer repaintTimer;
|
private final Timer repaintTimer;
|
||||||
|
|||||||
Reference in new issue
Block a user