This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit f3695e7
committed
[[ svgpath ]] Don't recalculate scaled width & height if widget dimensions are unchanged
This patch reduces the work done by the svgpath widget's OnGeometryChanged
handler by checking first if the width or height of the widget has changed before
recalculating the scaled dimensions of the svg path1 parent 8ffaee1 commit f3695e7
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
303 | 305 | | |
304 | 306 | | |
305 | 307 | | |
306 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
307 | 313 | | |
308 | 314 | | |
309 | 315 | | |
| |||
0 commit comments