refactor(dock): add cached icon surface fields
This commit is contained in:
1 file changed
+3
@@ -22,6 +22,9 @@ class DockItem:
|
|||||||
pixbuf: Optional[GdkPixbuf.Pixbuf] = None
|
pixbuf: Optional[GdkPixbuf.Pixbuf] = None
|
||||||
tooltip: str = ""
|
tooltip: str = ""
|
||||||
|
|
||||||
|
icon_surface: object = None
|
||||||
|
icon_surface_pixbuf: object = None
|
||||||
|
|
||||||
current_scale: float = MIN_SCALE
|
current_scale: float = MIN_SCALE
|
||||||
target_scale: float = MIN_SCALE
|
target_scale: float = MIN_SCALE
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user