Skip to content

Commit

Permalink
Devel css class
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketok4321 committed Jan 27, 2024
1 parent 25221fd commit 58a3124
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def do_activate(self):
if not self.win:
self.win = SpeedtestWindow(application=self)
self.win.on_test_end = lambda: self.test_worker.stop_event.set()
if DEVEL:
self.win.add_css_class("devel")

self.settings.bind("width", self.win, "default-width", Gio.SettingsBindFlags.DEFAULT)
self.settings.bind("height", self.win, "default-height", Gio.SettingsBindFlags.DEFAULT)
Expand Down

0 comments on commit 58a3124

Please sign in to comment.