Skip to content

Commit

Permalink
Fix incorrectly moved colour_visuals.visual.Visual.update abstract …
Browse files Browse the repository at this point in the history
…method.
  • Loading branch information
KelSolaar committed Nov 3, 2023
1 parent 3e056db commit f7477c6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions colour_visuals/visual.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
"""
Expand Down Expand Up @@ -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:
"""
Expand Down

0 comments on commit f7477c6

Please sign in to comment.