Make it so you can rightclick the logo to go the other way

This commit is contained in:
2025-07-19 16:24:51 -07:00
parent 357d4059ea
commit 02ee5d5ace

View File

@@ -56,6 +56,19 @@ export default function Sidebar({ downloadProgress }: SidebarProps) {
return next return next
}) })
} }
onContextMenu={() => {
setRot(r => {
let next = r - dir * 90
if (next >= 360) {
next = 360
setDir(-1)
} else if (next <= 0) {
next = 0
setDir(1)
}
return next
})
}}
/> />
</div> </div>
<nav className="nav-links"> <nav className="nav-links">