forked from MapComplete/MapComplete
Fix colours
This commit is contained in:
parent
33f6f5c8d2
commit
16573946cb
3 changed files with 153 additions and 447 deletions
|
@ -23,18 +23,14 @@ export default class RightControls extends Combine {
|
|||
);
|
||||
|
||||
const plus = new MapControlButton(
|
||||
Svg.plus_svg(),{
|
||||
dontStyle:true
|
||||
}
|
||||
Svg.plus_svg()
|
||||
).onClick(() => {
|
||||
State.state.locationControl.data.zoom++;
|
||||
State.state.locationControl.ping();
|
||||
});
|
||||
|
||||
const min = new MapControlButton(
|
||||
Svg.min_svg(),{
|
||||
dontStyle: true
|
||||
}
|
||||
Svg.min_svg()
|
||||
).onClick(() => {
|
||||
State.state.locationControl.data.zoom--;
|
||||
State.state.locationControl.ping();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue