mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-04 02:34:13 +02:00
viewer fixes
This commit is contained in:
parent
5910b2f35a
commit
e94f0474ef
9 changed files with 125 additions and 100 deletions
|
|
@ -21,8 +21,10 @@ export const MapContainer = (props: ParentProps<MapContainerProps>) => {
|
|||
}
|
||||
}
|
||||
createEffect(() => {
|
||||
if (isFinite(scale())) {
|
||||
props.onScale && props.onScale(scale());
|
||||
const s = scale();
|
||||
console.log(s)
|
||||
if (isFinite(s)) {
|
||||
props.onScale && props.onScale(s);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue