Skip to content

Commit b4a207b

Browse files
committed
need sketch-module-web-view in dependencies
1 parent 662b86e commit b4a207b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@
5555
"react-router": "^4.2.0",
5656
"react-router-dom": "^4.2.2",
5757
"redux": "^3.7.2",
58-
"redux-logger": "^3.0.6",
58+
"redux-logger": "^3.0.6"
59+
},
60+
"dependencies": {
5961
"sketch-module-web-view": "^0.2.6"
6062
},
6163
"resources": ["resources/webview.js"],

resources/debugger/redux/middlewares/sketch-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default () => next => action => {
44
const res = next(action)
55

66
if (action.meta && action.meta.sketch) {
7-
pluginCall.apply(this, action.meta.sketch)
7+
setTimeout(() => pluginCall.apply(this, action.meta.sketch), 0)
88
}
99

1010
return res

src/show-debugger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default function(context) {
2828
onlyShowCloseButton: true,
2929
hideTitleBar: false,
3030
shouldKeepAround: true,
31-
title: 'DevTools',
31+
title: 'Sketch DevTools',
3232
resizable: true,
3333
onPanelClose() {
3434
AppController.sharedInstance()

0 commit comments

Comments
 (0)