Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/5.0.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Apr 3, 2013
2 parents 5faea63 + 56b003a commit 121f0db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/org/nlogo/window/Zoomer.java
Expand Up @@ -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));
}
Expand Down

0 comments on commit 121f0db

Please sign in to comment.