Changeset 19723 in josm
- Timestamp:
- 2026-12-01T09:10:20+01:00 (less than one hour ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
.checkstyle (modified) (1 diff)
-
src/org/openstreetmap/josm/actions/mapmode/SelectAction.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/.checkstyle
r16050 r19723 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 3 <fileset-config file-format-version="1.2.0" simple-config=" true" sync-formatter="false">3 <fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false"> 4 4 <local-check-config name="JOSM" location="tools/checkstyle/josm_checks.xml" type="project" description=""> 5 5 <additional-data name="protect-config-file" value="false"/> 6 6 </local-check-config> 7 <fileset name="all" enabled="true" check-config-name="JOSM" local="true"> 8 <file-match-pattern match-pattern="." include-pattern="true"/> 7 <local-check-config name="maven-checkstyle-plugin validate" location="file:/C:/josm/core/tools/checkstyle/josm_checks.xml" type="remote" description="maven-checkstyle-plugin configuration validate"> 8 <property name="checkstyle.header.file" value="D:\eclipse_workspace_new\.metadata\.plugins\org.eclipse.core.resources\.projects\josm\com.basistech.m2e.code.quality.checkstyleConfigurator\checkstyle-header-validate.txt"/> 9 <property name="checkstyle.cache.file" value="${project_loc}/target/checkstyle-cachefile"/> 10 </local-check-config> 11 <fileset name="java-sources-validate" enabled="true" check-config-name="maven-checkstyle-plugin validate" local="true"> 12 <file-match-pattern match-pattern="^test/unit/.*\.java" include-pattern="true"/> 13 <file-match-pattern match-pattern="^src/.*\.java" include-pattern="true"/> 14 <file-match-pattern match-pattern="^test/unit.*module-info\.java" include-pattern="false"/> 15 <file-match-pattern match-pattern="^test/unit.*org/openstreetmap/josm/gui/mappaint/mapcss/parsergen/.*\.java" include-pattern="false"/> 16 <file-match-pattern match-pattern="^src.*module-info\.java" include-pattern="false"/> 17 <file-match-pattern match-pattern="^src.*org/openstreetmap/josm/gui/mappaint/mapcss/parsergen/.*\.java" include-pattern="false"/> 18 <file-match-pattern match-pattern="^resources/.*\.properties" include-pattern="true"/> 19 <file-match-pattern match-pattern="^.*\.properties" include-pattern="true"/> 20 <file-match-pattern match-pattern="^test/data/.*\.properties" include-pattern="true"/> 9 21 </fileset> 10 22 <filter name="DerivedFiles" enabled="true"/> -
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r19701 r19723 152 152 private boolean drawTargetHighlight; 153 153 private boolean didMouseDrag; 154 private boolean selectionInProgress; 155 154 156 /** 155 157 * The component this SelectAction is associated with. … … 281 283 determineMapMode(c.isPresent()); 282 284 285 // fix #25146: don't draw selection rectangle when not in selection mode 286 if (selectionInProgress && mode != Mode.SELECT) { 287 selectionInProgress = false; 288 selectionManager.unregister(mv); 289 } 290 283 291 virtualManager.clear(); 284 292 if (mode == Mode.MOVE && !dragInProgress() && virtualManager.activateVirtualNodeNearPoint(e.getPoint())) { … … 472 480 selectionManager.register(mv, lassoMode); 473 481 selectionManager.mousePressed(e); 482 selectionInProgress = true; 474 483 break; 475 484 }
Note:
See TracChangeset
for help on using the changeset viewer.
