thomaslindstrom / color-picker

A color picker for the Atom Editor. Right click a color and select color picker to open it.
MIT License
246 stars 50 forks source link

Uncaught TypeError: Cursor.getPixelRect is not a function #214

Closed Gaohaoyang closed 7 years ago

Gaohaoyang commented 7 years ago
/Users/haoyanggao/.atom/packages/color-picker/lib/ColorPicker-view.coffee:365
TypeError: Cursor.getPixelRect is not a function
    at Object.open (/Users/haoyanggao/.atom/packages/color-picker/lib/ColorPicker-view.coffee:365:42)
    at atom-text-editor.<anonymous> (/Users/haoyanggao/.atom/packages/color-picker/lib/ColorPicker.coffee:47:23)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:106:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:59)
Gaohaoyang commented 7 years ago

213

ZhangMingZhao1 commented 7 years ago

How solve it???!!!