From f7477c67f940148fcc25eb4ab91bba59362f5f4b Mon Sep 17 00:00:00 2001 From: Thomas Mansencal Date: Sat, 4 Nov 2023 08:18:52 +1300 Subject: [PATCH] Fix incorrectly moved `colour_visuals.visual.Visual.update` abstract method. --- colour_visuals/visual.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/colour_visuals/visual.py b/colour_visuals/visual.py index 689356c..d95f9b0 100644 --- a/colour_visuals/visual.py +++ b/colour_visuals/visual.py @@ -97,6 +97,16 @@ def block_update(self) -> Generator: self._is_update_blocked = False + @abstractmethod + def update(self): + """ + Update the visual. + + Notes + ----- + - Must be reimplemented by sub-classes. + """ + class MixinPropertyCMFS: """ @@ -463,16 +473,6 @@ def model(self, value: LiteralColourspaceModel | str): self._model = validate_method(value, tuple(COLOURSPACE_MODELS)) - @abstractmethod - def update(self): - """ - Update the visual. - - Notes - ----- - - Must be reimplemented by sub-classes. - """ - class MixinPropertyOpacity: """