Skip to content

Commit

Permalink
Add help message when drawing a rectangle
Browse files Browse the repository at this point in the history
  • Loading branch information
adube committed Dec 9, 2019
1 parent 84c66c8 commit 609a528
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contribs/gmf/src/controllers/desktop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,8 @@ hr.gmf-drawfeature-separator {
margin-top: $app-margin;
}

gmf-drawfeatureoptions label {
gmf-drawfeatureoptions label,
.gmf-drawfeatureoptions-help-rectangle {
margin: 1rem 0 0 0;
}

Expand Down
5 changes: 5 additions & 0 deletions contribs/gmf/src/drawing/drawFeatureOptionsComponent.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@
<option value="km">{{'km (kilometers)' | translate}}</option>
</select>
</div>

<p
class="gmf-drawfeatureoptions-help-rectangle"
ng-if="$ctrl.drawRectangle"
>{{ 'Note: drawing a rectangle of a specific size requires both height and length to be defined.' | translate}}</p>

0 comments on commit 609a528

Please sign in to comment.