If a border isn't enabled there's no point in creating a node for it
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma - Commits
- R242:ab8915bc12b4: [FrameSvgItem] Don't create unneccessary nodes
Borders still look fine also when they change. When enabled borders change we throw away the entire node anyway.
Diff Detail
Diff Detail
- Repository
- R242 Plasma Framework (Library)
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Are you sure you've checked enabled borders changing at runtime?
if it changes oldNode is still set, so we don't go through this again.
We just (and this could be changed) update the nodes in that case.