From 005c3e5d97beddc36189c79fc10f34ec1bfb5f96 Mon Sep 17 00:00:00 2001 From: Merudo Date: Sun, 6 Oct 2019 11:32:07 -0500 Subject: [PATCH] Change rebounce interval from 30fps to 60fps - Test to solve #767 --- .../java/net/rptools/maptool/client/ui/zone/ZoneRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/rptools/maptool/client/ui/zone/ZoneRenderer.java b/src/main/java/net/rptools/maptool/client/ui/zone/ZoneRenderer.java index f8abb5801b..6d6d463dd4 100644 --- a/src/main/java/net/rptools/maptool/client/ui/zone/ZoneRenderer.java +++ b/src/main/java/net/rptools/maptool/client/ui/zone/ZoneRenderer.java @@ -150,7 +150,7 @@ public class ZoneRenderer extends JComponent new Color(Color.yellow.getRed(), Color.yellow.getGreen(), Color.yellow.getBlue(), 50); /** The interval, in milliseconds, during which calls to repaint() will be debounced. */ - private static final int REPAINT_DEBOUNCE_INTERVAL = 33; + private static final int REPAINT_DEBOUNCE_INTERVAL = 17; /** DebounceExecutor for throttling repaint() requests. */ private final DebounceExecutor repaintDebouncer =