Fix being unable to set ui.Container colour to black

This commit is contained in:
Soheab
2026-07-08 16:15:59 -04:00
committed by GitHub
parent 7057cb10c0
commit 0481f62cca
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ class Container(Item[V]):
components = self.to_components()
colour = None
if self._colour:
if self._colour is not None:
colour = self._colour if isinstance(self._colour, int) else self._colour.value
base = {