@@ -70,14 +70,14 @@ public void render(GuiGraphics graphics, int mouseX, int mouseY, float delta) {
7070 0xFF3F3F3F
7171 );
7272 //graphics.setColor(1.0f, 1.0f, 1.0f, 1.0f);
73- graphics .renderOutline (dropdownDim .x (), dropdownDim .y (), dropdownDim .width (), dropdownDim .height (), -1 );
73+ graphics ./*? if >=1.21.9 {*/ submitOutline /*?} else {*/ /* renderOutline*/ /*?}*/ (dropdownDim .x (), dropdownDim .y (), dropdownDim .width (), dropdownDim .height (), -1 );
7474
7575 // Highlight the currently selected element
7676 //graphics.setColor(0.0f, 0.0f, 0.0f, 0.5f);
7777 int y = dropdownDim .y () + 2 + entryHeight () * selectedVisibleIndex ();
7878 graphics .fill (dropdownDim .x (), y , dropdownDim .xLimit (), y + entryHeight (), 0x7F000000 );
7979 //graphics.setColor(1.0f, 1.0f, 1.0f, 1.0f);
80- graphics .renderOutline (dropdownDim .x (), y , dropdownDim .width (), entryHeight (), -1 );
80+ graphics ./*? if >=1.21.9 {*/ submitOutline /*?} else {*/ /* renderOutline*/ /*?}*/ (dropdownDim .x (), y , dropdownDim .width (), entryHeight (), -1 );
8181
8282 // Render all visible elements
8383 MutableDimension <Integer > entryDimension = Dimension .ofInt (
0 commit comments