Ignore:
Timestamp:
2025-01-16T08:48:02+01:00 (3 weeks ago)
Author:
stoecker
Message:

add help topics

Location:
applications/editors/josm/plugins/turnlanes/src/org/openstreetmap/josm/plugins/turnlanes/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/turnlanes/src/org/openstreetmap/josm/plugins/turnlanes/gui/JunctionPane.java

    r34925 r36369  
    285285        rotation = 0;
    286286
    287         scale = Math.min(getHeight() / 2 / bounds.getHeight(), getWidth() / 2 / bounds.getWidth());
     287        scale = Math.min(getHeight() / 2.0 / bounds.getHeight(), getWidth() / 2.0 / bounds.getWidth());
    288288
    289289        translationX = -bounds.getCenterX();
  • applications/editors/josm/plugins/turnlanes/src/org/openstreetmap/josm/plugins/turnlanes/gui/TurnLanesDialog.java

    r34994 r36369  
    22package org.openstreetmap.josm.plugins.turnlanes.gui;
    33
     4import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    45import static org.openstreetmap.josm.tools.I18n.tr;
    56
     
    4849            super(tr("Edit"), "dialogs/edit", tr("Edit turn relations and lane lengths for selected node."), null,
    4950                    false);
     51            putValue("help", ht("/Action/TurnLanesEdit"));
    5052        }
    5153
     
    6668            super(tr("Validate"), "dialogs/validator", tr("Validate turn- and lane-length-relations for consistency."),
    6769                    null, false);
     70            putValue("help", ht("/Action/TurnLanesValidate"));
    6871        }
    6972
Note: See TracChangeset for help on using the changeset viewer.