settings
This commit is contained in:
parent
399c63a587
commit
0595bf174c
3 changed files with 24 additions and 2 deletions
|
|
@ -97,14 +97,14 @@ void FurnaceGUI::drawSysManager() {
|
|||
isNotCollapsed=false;
|
||||
ImGui::TreePop();
|
||||
}
|
||||
if (ImGui::IsItemHovered(ImGuiHoveredFlags_Stationary) && isNotCollapsed) {
|
||||
if (ImGui::IsItemHovered(ImGuiHoveredFlags_Stationary) && isNotCollapsed && settings.chipManagerTooltip) {
|
||||
if (e->song.system[i]!=DIV_SYSTEM_NULL) {
|
||||
const DivSysDef* sysDef=e->getSystemDef(e->song.system[i]);
|
||||
if (ImGui::BeginTooltip()) { // why not SetTooltip()? so i can wrap the text
|
||||
ImGui::PushTextWrapPos(ImGui::GetCursorPos().x+420); // arbitrary constant
|
||||
ImGui::TextWrapped("%s",sysDef->description);
|
||||
ImGui::PopTextWrapPos();
|
||||
drawSystemChannelInfo(sysDef);
|
||||
if (settings.sysTooltipChannelColors) drawSystemChannelInfo(sysDef);
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue