AlexTorresDev / custom-electron-titlebar

Custom electon title bar inpire on VS Code title bar
MIT License
868 stars 149 forks source link

Uncaught TypeError: e.isLighter is not a function #192

Closed newredstone02 closed 1 year ago

newredstone02 commented 2 years ago

Describe the bug The whole titlebar frezzes and trows this error

Uncaught TypeError: e.isLighter is not a function

Desktop (please complete the following information):

AlexTorresDev commented 2 years ago

Does this still show up in the latest version of CET?

KK-Designs commented 1 year ago

@newredstone02 when choosing the background color for the title bar using

const { Titlebar, Color } = require('custom-electron-titlebar');

new Titlebar({ backgroundColor: Color.fromHex('#3a3b3c') });

works instead of the direct hex code.