- Timestamp:
- 2026-04-11T13:07:07+02:00 (3 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/SelectionManager.java
r19167 r19560 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.gui; 3 4 import static org.openstreetmap.josm.tools.I18n.marktr; 3 5 4 6 import java.awt.Color; … … 26 28 import org.openstreetmap.josm.data.osm.Way; 27 29 import org.openstreetmap.josm.data.osm.visitor.paint.PaintColors; 30 import org.openstreetmap.josm.data.preferences.NamedColorProperty; 28 31 import org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable; 29 32 import org.openstreetmap.josm.tools.ColorHelper; … … 59 62 public class SelectionManager implements MouseListener, MouseMotionListener, PropertyChangeListener { 60 63 64 private final transient NamedColorProperty LASSO_COLOR = new NamedColorProperty( 65 /* I18n: color description for color of lasso select mode */ 66 marktr("Lasso"), 67 ColorHelper.complement(PaintColors.getBackgroundColor())); 61 68 /** 62 69 * This is the interface that an user of SelectionManager has to implement … … 85 92 if (mousePos == null || mousePosStart == null || mousePos == mousePosStart) 86 93 return; 87 Color color = ColorHelper.complement(PaintColors.getBackgroundColor());94 Color color = LASSO_COLOR.get(); 88 95 g.setColor(color); 89 96 if (lassoMode) {
Note:
See TracChangeset
for help on using the changeset viewer.
