mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-07-26 05:46:59 +00:00
refactor: deprecated CentralPanel::show_inside -> show
This commit is contained in:
@@ -121,7 +121,7 @@ impl App for SoundpadGui {
|
|||||||
|
|
||||||
fn ui(&mut self, ui: &mut egui::Ui, _frame: &mut EFrame) {
|
fn ui(&mut self, ui: &mut egui::Ui, _frame: &mut EFrame) {
|
||||||
// Draw UI
|
// Draw UI
|
||||||
CentralPanel::default().show_inside(ui, |ui| {
|
CentralPanel::default().show(ui, |ui| {
|
||||||
if !self.audio_player_state.is_daemon_running {
|
if !self.audio_player_state.is_daemon_running {
|
||||||
self.draw_waiting_for_daemon(ui);
|
self.draw_waiting_for_daemon(ui);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user