mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-10-05 15:08:25 +00:00
Update comments
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user