Open mihirsam opened 7 years ago
It can`t find .scroll-view and .line elements in EditorView. I am noob in coffescript, so I have changed line 355 to this:
if EditorView.querySelector('.scroll-view')? _editorOffsetLeft = EditorView.querySelector('.scroll-view').offsetLeft else _editorOffsetLeft = 20;
and other error to this:
if EditorView.querySelector('.line')? _lineOffsetLeft = EditorView.querySelector('.line').offsetLeft else _lineOffsetLeft = 20;
and color-picker works again
[Enter steps to reproduce below:]
Atom Version: 1.12.5 Electron Version: 1.3.9 System: Ubuntu 16.04.2 Thrown From: color-picker package, v2.2.5
Stack Trace
Uncaught TypeError: Cannot read property 'offsetLeft' of null
Commands
Config
Installed Packages