Commit 2f2ee87
committed
Fix widgets not updating with parent's widget
Implement the twin_widget_children_paint function to repaint all the
box's widgets. The issue arises when the spline updates the pixmap
beneath the button widget, the pixmap of the button isn't triggered
to repaint. To solve this, we call the twin_widget_paint function after
the spline update to ensure the related widget will be repainted.
Signed-off-by: Wei-Hsin Yeh <weihsinyeh168@gmail.com>1 parent 053a651 commit 2f2ee87
3 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1124 | 1124 | | |
1125 | 1125 | | |
1126 | 1126 | | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
1127 | 1130 | | |
1128 | 1131 | | |
1129 | 1132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
203 | 210 | | |
204 | 211 | | |
205 | 212 | | |
| |||
0 commit comments