Skip to content

Commit 04b0a5d

Browse files
Fix code scanning alert no. 2: Implicit narrowing conversion in compound assignment
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 287f615 commit 04b0a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/workspace/ui/UiSimpleList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public void addElements(Object... elements) {
2424

2525
@Override
2626
public void onDraw(Graphics g) {
27-
int y = 300;
27+
float y = 300;
2828
int padding = 5;
2929
int gap = 5;
3030

0 commit comments

Comments
 (0)