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:
piexel committed 2026-10-25 21:42:44 +01:00
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.
*/
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 final Timer repaintTimer;