Skip to content

Commit

Permalink
blur comments on thumbnail size change
Browse files Browse the repository at this point in the history
  • Loading branch information
rooklift committed May 16, 2022
1 parent 47005c0 commit 1b53bad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/modules/hub_settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = {
} else if (debug_missing_handlers) {
// Do nothing, the call was for debugging reasons.
} else {
this.start_engine(); // Won't do anything unless all 3 settings are valid.
this.start_engine(); // Won't do anything unless all 3 settings are valid.
}
break;

Expand Down Expand Up @@ -135,6 +135,7 @@ module.exports = {
case "thumbnail_square_size":

tabber.draw_everything(this.node);
comment_drawer.textarea.blur(); // In case it's been pushed offscreen.
break;

case "graph_type":
Expand All @@ -151,7 +152,7 @@ module.exports = {
case "graph_width":

grapher.draw_graph(this.node);
comment_drawer.textarea.blur(); // In case it's been pushed offscreen.
comment_drawer.textarea.blur(); // In case it's been pushed offscreen.
break;

case "tree_spacing":
Expand Down

0 comments on commit 1b53bad

Please sign in to comment.