aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-10-12 13:09:53 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-10-12 13:09:53 -0400
commit8910a2649a1b2edea9843df1b780937ad0e69fb5 (patch)
treedb0c367014208e36b99e753f3d650eb1b8567ae3 /src/client/views/GlobalKeyHandler.ts
parent34a8b9dd402a247e7ad0a57115935b1e3a04a8d3 (diff)
color picker as document in sidebar now.
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r--src/client/views/GlobalKeyHandler.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts
index 82f5a573c..f3e1933d7 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -165,10 +165,10 @@ export default class KeyManager {
break;
case "c":
PromiseValue(Cast(CurrentUserUtils.UserDocument.Create, Doc)).then(pv => pv && (pv.onClick as ScriptField).script.run({ this: pv }));
- if (MainView.Instance.flyoutWidth === 75) {
+ if (MainView.Instance.flyoutWidth === 240) {
MainView.Instance.flyoutWidth = 0;
} else {
- MainView.Instance.flyoutWidth = 75;
+ MainView.Instance.flyoutWidth = 240;
}
break;
case "l":