Skip to content

Need help with schematic view... #14

Answered by FiercestT
kpgrafix asked this question in Q&A
Discussion options

You must be logged in to vote

Try commenting out the contents of this function in main.js, then reimport the extension with the edited file. It should prevent the editor from applying the custom schematic theme. Then, in EasyEda [View] -> [Theme] -> [Original Theme]

///Sets the schematic editor theme
function setEditorTheme(themeData) {
api('doCommand', 'applyThemeUserDefine')
api('editorCall', {
cmd: 'setColors',
args: [{
activeTheme: 'user-define',
color: MAPPING(themeData)
}]})
}

to this

 ///Sets the schematic editor theme 
 function setEditorTheme(themeData) { /*
     api('doCommand', 'applyThem…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kpgrafix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants