Advice on overriding SingleRegion method #3757
Unanswered
bernardwiesner
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm guessing you just want to disable it? If so, please feel free to make a PR to make it optional in the Regions settings. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @katspaugh
I would like to override the RegionsPlugin, specifically the SingleRegion avoidOverlapping method.
My only thoughts of doing this is extending RegionsPlugin, and overriding the addRegion method to pass my implementation of the SingleRegion here.
I would prefer not to override the addRegion method, just so I don't have to maintain it on upgrades on this package. Is there any other simpler way you can think of to customize the behavior of
avoidOverlapping
method ?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions