-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(zoom): making zoom in+out a usable feature #116
base: main
Are you sure you want to change the base?
Conversation
- feat: keyboard viewport + tools to pan-around and reset
✅ Deploy Preview for zmk-studio ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -29,8 +29,7 @@ import { BehaviorBindingPicker } from "../behaviors/BehaviorBindingPicker"; | |||
import { produce } from "immer"; | |||
import { LockStateContext } from "../rpc/LockStateContext"; | |||
import { LockState } from "@zmkfirmware/zmk-studio-ts-client/core"; | |||
import { deserializeLayoutZoom, LayoutZoom } from "./PhysicalLayout"; | |||
import { useLocalStorageState } from "../misc/useLocalStorageState"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useLocalStorageState
was created for future local storage uses. I don't think we should remove it #31 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
restored useLocalStorageState
, i slightly modified the hook to have default serialize+deserializer, imho, these options should only be required for specific serialize+deserializer functions. lmk what you think ^^
6140ebb
to
f76a3a3
Compare
useLocalStorageState
to have default serializer+deserializerScreen.Recording.2024-12-22.at.20.16.13.mov