Update comments

This commit is contained in:
kdmukai
2021-06-26 09:19:00 -05:00
parent 5175793f36
commit d14e00a1ea
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -26,6 +26,8 @@ class Controller:
from seedsigner.controller import Controller from seedsigner.controller import Controller
controller = Controller.get_instance() controller = Controller.get_instance()
``` ```
Note: In many/most cases you'll need to do the Controller import within a method
rather than at the top in order avoid circular imports.
""" """
VERSION = "0.4.1" VERSION = "0.4.1"
-1
View File
@@ -46,7 +46,6 @@ class View:
from seedsigner.controller import Controller from seedsigner.controller import Controller
self.controller = Controller.get_instance() self.controller = Controller.get_instance()
# Global Singleton
View.buttons = self.controller.buttons View.buttons = self.controller.buttons
View.canvas_width = View.WIDTH View.canvas_width = View.WIDTH