joostdecock / core

Freesewing is an open source platform for made-to-measure sewing patterns

Home Page:https://freesewing.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make Boundary properties protected

joostdecock opened this issue · comments

The Boundary class has 4 properties:

  • topLeft
  • bottomRight
  • width
  • height

They are currently public, but there's no need to as the class has getters to access these properties.

Yet, making them protected breaks things (can't render the SimonShirt pattern) and I'm not sure what's causing it.

Same issue with Coords, and I think it's related

I'm closing this because at the end of the day, who cares.