minor style change

pull/328/head
AlexandreRouma 2021-08-30 01:23:42 +02:00 zatwierdzone przez GitHub
rodzic 99441ea2eb
commit ba6d9f7202
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -356,13 +356,12 @@ private:
float menuWidth = ImGui::GetContentRegionAvailWidth();
// If no device is selected, draw just the refresh button
// If no device is selected, draw only the refresh button
if (_this->devId < 0) {
if (ImGui::Button(CONCAT("Refresh##_dev_select_", _this->name), ImVec2(menuWidth, 0))) {
_this->refresh();
_this->selectDevice(config.conf["device"]);
}
return;
}