Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Kuba_Z2 <77853483+KubaZ2@users.noreply.github.com>
  • Loading branch information
jedrek0429 and KubaZ2 authored Apr 2, 2024
1 parent 94fa8ce commit a85b820
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions webmap/src/control/ContextMenuControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class ContextMenuControl extends L.Control {
this._hide();
});
});
}
}
this._dom.style.display = 'block';
this._dom.style.left = event.containerPoint.x + 'px';
this._dom.style.top = event.containerPoint.y + 'px';
Expand Down Expand Up @@ -98,4 +98,4 @@ export default class ContextMenuControl extends L.Control {

return items;
}
}
}
1 change: 0 additions & 1 deletion webmap/src/settings/Lang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ export class BlockInfoUnknown {
export class BlockInfo extends Label {
private readonly _unknown: BlockInfoUnknown;


constructor(label: string, value: string, unknown: BlockInfoUnknown) {
super(label, value);
this._unknown = unknown;
Expand Down

0 comments on commit a85b820

Please sign in to comment.