Skip to content

Commit

Permalink
rm reset_colours
Browse files Browse the repository at this point in the history
  • Loading branch information
rooklift committed May 15, 2021
1 parent 042cc73 commit 194040b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
9 changes: 0 additions & 9 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1116,15 +1116,6 @@ function menu_build() {
{
type: "separator",
},
{
label: "Reset colours",
click: () => {
win.webContents.send("call", "reset_colours");
}
},
{
type: "separator",
},
{
label: "Log engine stderr to console",
type: "checkbox",
Expand Down
10 changes: 0 additions & 10 deletions src/modules/hub.js
Original file line number Diff line number Diff line change
Expand Up @@ -760,16 +760,6 @@ let hub_prototype = {
this.draw();
},

reset_colours: function() {
for (let key of colour_keys) {
config[key] = defaults[key];
}
save_config();
this.tabber.draw_tabs(this.node);
this.grapher.draw_graph(this.node);
this.draw();
},

// Clickers in the infobox.....................................................................

cycle_rules: function(reverse) {
Expand Down

0 comments on commit 194040b

Please sign in to comment.