Skip to content

Commit a0252f3

Browse files
committed
html tweaks
1 parent 2f71635 commit a0252f3

File tree

5 files changed

+7
-15
lines changed

5 files changed

+7
-15
lines changed

dist/partials/editor.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,8 @@ <h5 class="section-heading">Map Visual Options</h5>
3636
<input type="text" class="input-small gf-form-input width-10" ng-model="ctrl.panel.unitSingular" placeholder="singular form" ng-change="ctrl.render()" ng-model-onblur />
3737
<input type="text" class="input-small gf-form-input width-10" ng-model="ctrl.panel.unitPlural" placeholder="plural form" ng-change="ctrl.render()" ng-model-onblur />
3838
</div>
39-
<div class="gf-form">
40-
<gf-form-switch class="gf-form" label="Show Legend" label-class="width-10" checked="ctrl.panel.showLegend" on-change="ctrl.toggleLegend()"></gf-form-switch>
41-
</div>
42-
<div class="gf-form">
43-
<gf-form-switch class="gf-form" label="Mouse Wheel Zoom" label-class="width-10" checked="ctrl.panel.mouseWheelZoom" on-change="ctrl.toggleMouseWheelZoom()"></gf-form-switch>
44-
</div>
39+
<gf-form-switch class="gf-form" label="Show Legend" label-class="width-10" checked="ctrl.panel.showLegend" on-change="ctrl.toggleLegend()"></gf-form-switch>
40+
<gf-form-switch class="gf-form" label="Mouse Wheel Zoom" label-class="width-10" checked="ctrl.panel.mouseWheelZoom" on-change="ctrl.toggleMouseWheelZoom()"></gf-form-switch>
4541
</div>
4642
<div class="section gf-form-group">
4743
<h5 class="section-heading">Map Data Options</h5>

dist/worldmap_ctrl.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/worldmap_ctrl.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/partials/editor.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,8 @@ <h5 class="section-heading">Map Visual Options</h5>
3636
<input type="text" class="input-small gf-form-input width-10" ng-model="ctrl.panel.unitSingular" placeholder="singular form" ng-change="ctrl.render()" ng-model-onblur />
3737
<input type="text" class="input-small gf-form-input width-10" ng-model="ctrl.panel.unitPlural" placeholder="plural form" ng-change="ctrl.render()" ng-model-onblur />
3838
</div>
39-
<div class="gf-form">
40-
<gf-form-switch class="gf-form" label="Show Legend" label-class="width-10" checked="ctrl.panel.showLegend" on-change="ctrl.toggleLegend()"></gf-form-switch>
41-
</div>
42-
<div class="gf-form">
43-
<gf-form-switch class="gf-form" label="Mouse Wheel Zoom" label-class="width-10" checked="ctrl.panel.mouseWheelZoom" on-change="ctrl.toggleMouseWheelZoom()"></gf-form-switch>
44-
</div>
39+
<gf-form-switch class="gf-form" label="Show Legend" label-class="width-10" checked="ctrl.panel.showLegend" on-change="ctrl.toggleLegend()"></gf-form-switch>
40+
<gf-form-switch class="gf-form" label="Mouse Wheel Zoom" label-class="width-10" checked="ctrl.panel.mouseWheelZoom" on-change="ctrl.toggleMouseWheelZoom()"></gf-form-switch>
4541
</div>
4642
<div class="section gf-form-group">
4743
<h5 class="section-heading">Map Data Options</h5>

src/worldmap_ctrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const panelDefaults = {
2323
unitSingle: '',
2424
unitPlural: '',
2525
showLegend: true,
26-
mouseWheelZoom: true,
26+
mouseWheelZoom: false,
2727
esMetric: 'Count',
2828
decimals: 0,
2929
hideEmpty: false,

0 commit comments

Comments
 (0)