e.stopPropagation()}>
{current.alt ? (
-
{current.alt}
+
{current.alt}
) : null}
-
+
+ zoomBy(1 / ZOOM_STEP)}
+ >
+
+
+
+ = MAX_SCALE}
+ onClick={() => zoomBy(ZOOM_STEP)}
+ >
+
+
+
+
+ setView((v) => ({
+ ...v,
+ rotation: v.rotation - 90,
+ tx: 0,
+ ty: 0,
+ }))
+ }
+ >
+
+
+
+ setView((v) => ({
+ ...v,
+ rotation: v.rotation + 90,
+ tx: 0,
+ ty: 0,
+ }))
+ }
+ >
+
+
+ setView((v) => ({ ...v, flipX: !v.flipX }))}
+ >
+
+
+ setView((v) => ({ ...v, invert: !v.invert }))}
+ >
+
+
+
+
+
+
+ {hasNav ? (
+ <>
+
+
+ {index + 1} / {total}
+
+ >
+ ) : null}
+
+