mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-05 09:52:54 +00:00
fix height on safari
This commit is contained in:
@@ -40,10 +40,14 @@
|
||||
import { get } from 'svelte/store';
|
||||
import { DateFormatter } from '@internationalized/date';
|
||||
|
||||
const df = new DateFormatter($locale ?? 'en', {
|
||||
dateStyle: 'medium',
|
||||
timeStyle: 'medium'
|
||||
});
|
||||
let df: DateFormatter;
|
||||
|
||||
$: if ($locale) {
|
||||
df = new DateFormatter($locale, {
|
||||
dateStyle: 'medium',
|
||||
timeStyle: 'medium'
|
||||
});
|
||||
}
|
||||
|
||||
let canvas: HTMLCanvasElement;
|
||||
let overlay: HTMLCanvasElement;
|
||||
|
Reference in New Issue
Block a user