Use MXL flow label in tile UI
This commit is contained in:
@@ -514,10 +514,21 @@ static void drawTileLabels(
|
||||
labelMax,
|
||||
IM_COL32(0, 0, 0, 175)
|
||||
);
|
||||
const ImVec4 labelClip(
|
||||
labelMin.x,
|
||||
labelMin.y,
|
||||
labelMax.x,
|
||||
labelMax.y
|
||||
);
|
||||
drawList->AddText(
|
||||
nullptr,
|
||||
0.0f,
|
||||
textPos,
|
||||
tileLabelColor(status),
|
||||
label.c_str()
|
||||
label.c_str(),
|
||||
nullptr,
|
||||
0.0f,
|
||||
&labelClip
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user