1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Rename id_source to id_salt (#5025)

* Closes <https://github.com/emilk/egui/issues/5020 >
* [x] I have followed the instructions in the PR template
This commit is contained in:
Nicolas
2024-09-02 09:29:01 +02:00
committed by GitHub
parent edea5a40b9
commit be944f0915
19 changed files with 169 additions and 121 deletions

View File

@@ -91,7 +91,7 @@ fn main() -> eframe::Result {
|i| alternatives[i],
);
egui::ComboBox::from_id_source("combo")
egui::ComboBox::from_id_salt("combo")
.selected_text("ComboBox")
.width(100.0)
.show_ui(ui, |ui| {

View File

@@ -115,7 +115,7 @@ impl eframe::App for MyApp {
// combobox test
ui.add_space(20.0);
egui::ComboBox::from_id_source("combo_box")
egui::ComboBox::from_id_salt("combo_box")
.selected_text("click me")
.show_ui(ui, |ui| {
full_span_widget(ui, true);