Changing components stacking.

This commit is contained in:
vdv committed 2022-09-24 00:29:42 +02:00
1 parent 548d4a43cb
commit 2831f901a7
4 files changed
+10 -13

No files matched your search

+3 -3
View File
@@ -47,10 +47,10 @@ const Map: react.FC<{}> = (props: {}) => {
<CurrentLocation />
<Tracks />
</Whiteboard>
<Layer>
<TiledMap />
</Layer>
</Slippy>
<Layer>
<TiledMap />
</Layer>
</IonApp>
</IonContent>
<IonHeader className='ion-no-border' translucent={true}>
+1 -1
View File
@@ -12,7 +12,7 @@ const Whiteboard: React.FC<WhiteboardProps> = (props: WhiteboardProps) => {
);
return (
<svg width={window.innerWidth} height={window.innerHeight}>
<svg width={window.innerWidth} height={window.innerHeight} className="whiteboard">
<g
transform={`scale(${whiteBoardState.scale}) translate(${whiteBoardState.translation.x},${whiteBoardState.translation.y})`}
>