Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge remote-tracking branch 'origin/5.0.x'

  • Loading branch information...
commit 121f0db9a49b35025666c8a28550c067a1edeee5 2 parents 5faea63 + 56b003a
@SethTisue SethTisue authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/org/nlogo/window/Zoomer.java
View
6 src/main/org/nlogo/window/Zoomer.java
@@ -141,9 +141,9 @@ private void storeComponentFont(java.awt.Component component, boolean recursive,
// want to remember what the font size at the 100% zoom level is, because
// font sizes are so small that rounding error will mess us up unless we
// always scale from the normal, unzoomed size
- if (!(component instanceof ViewWidgetInterface) ||
- !newWidget ||
- loadingWidget) {
+ if ((!(component instanceof ViewWidgetInterface) ||
+ !newWidget ||
+ loadingWidget) && fonts.get(component) == null) {
fonts.put(component, component.getFont());
fontZooms.put(component, Double.valueOf(oldZoom));
}
Please sign in to comment.
Something went wrong with that request. Please try again.