Week 14 - Updating DrawPanel architecture#
What did you do this week?#
This week I continued updating the DrawShape and DrawPanel.
So as we can see below, whenever we create, translate, or rotate the shapes on the panel, it sometimes overlaps the mode_panel or mode_text which are used to select and show the current mode respectively.

To resolve this, I created a PR #678 which moves the mode_panel and the mode_text to be on the borders of the panel.

Along this, there were some similar functionalities in the Grouping Shapes PR and the DrawShape due to which some lines of code were repeating. To remove this duplicacy I created a PR #679 to move these functions to the helper.py file.
Then I tried different ways of highlighting the shapes,
To create a copy of the shape and scale it in the background so that it looks like a border or highlighted edges.
Add yellow color to the shape so that it looks brighter.
Did you get stuck anywhere?#
No, I didn’t get stuck this week.
What is coming up next?#
Working on these new PRs to get them merged. Implement a highlighting feature.