Commit e05d614
docs: maintainability comments + low-hanging cleanup
- sample_bilinear_rgba: document alpha interpolation approach (M6)
- ROTATE_CURSOR_MAP: document ring structure and fallback (M7)
- rotate_sprite_expand_top_left: avoid cloning empty sprite (L1)
- RenderControlsPanel: reuse currentDeg for slider value, eliminating
double Number.parseFloat (L2)
- TextBlockLayer: avoid rotate(-0deg) in number badge (L7)
Co-authored-by: DeepSeek V4 <deepseek@v4.ai>1 parent 413f39e commit e05d614
3 files changed
Lines changed: 22 additions & 8 deletions
File tree
- crates/koharu-app/src
- ui/components
- canvas
- panels
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
1061 | | - | |
| 1061 | + | |
1062 | 1062 | | |
1063 | 1063 | | |
1064 | 1064 | | |
| |||
1150 | 1150 | | |
1151 | 1151 | | |
1152 | 1152 | | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
1153 | 1160 | | |
1154 | 1161 | | |
1155 | 1162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
28 | 39 | | |
29 | 40 | | |
30 | 41 | | |
| |||
281 | 292 | | |
282 | 293 | | |
283 | 294 | | |
284 | | - | |
| 295 | + | |
285 | 296 | | |
286 | 297 | | |
287 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
| 849 | + | |
854 | 850 | | |
855 | 851 | | |
856 | 852 | | |
| |||
0 commit comments