Skip to content

Commit

Permalink
FixtureCellRenderer: Remove spurious TODO comment
Browse files Browse the repository at this point in the history
The constructor it suggested using doesn't actually exist.
  • Loading branch information
kingjon3377 committed Nov 23, 2024
1 parent 3add419 commit 891e01c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private static void setComponentPreferredSize(final JComponent component, final
view.setSize((float) width, 0.0f);
final int wid = (int) Math.ceil(view.getPreferredSpan(View.X_AXIS));
final int height = (int) Math.ceil(view.getPreferredSpan(View.Y_AXIS));
component.setPreferredSize(new Dimension(wid, height)); // TODO: Use Dimension::new taking doubles instead?
component.setPreferredSize(new Dimension(wid, height));
}

private static final Icon DEFAULT_FIXTURE_ICON = createDefaultFixtureIcon();
Expand Down

0 comments on commit 891e01c

Please sign in to comment.