Commit ed04d39
fix: replace null suppression with null checks in DragWidth
Replaced the unsafe null-forgiving operator (!) with explicit null checks to prevent potential runtime exceptions when container or thumb is null.
Signed-off-by: Illustar0 <me@illustar0.com>1 parent 618d89d commit ed04d39
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
0 commit comments