Ignore:
Timestamp:
2023-06-14T14:10:09+02:00 (19 months ago)
Author:
taylor.smock
Message:

Fix #22751: Improve fullscreen mode (patch by kolesar, modified)

  • Remove 1 pixel border drawn around map
  • Remove 1 pixel border drawn when in ImproveWayAccuracy mode and in the SELECTING state when there is a way under the mouse
  • Add advanced preference (navigation.always-visible, default true) which hides zoom and scale controls

Modifications are cleaning up some SonarLint issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/DialogsToggleAction.java

    r17188 r18755  
    6666                MapFrame.SIDE_TOOLBAR_VISIBLE.put(selected);
    6767            }
     68            map.mapView.setMapNavigationComponentVisibility(selected || Config.getPref().getBoolean("navigation.always-visible", true));
    6869            map.mapView.rememberLastPositionOnScreen();
    6970        }
Note: See TracChangeset for help on using the changeset viewer.