mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-21 18:24:21 +01:00
fixed egui::Frame::NONE references
This commit is contained in:
committed by
William Casarin
parent
2f4d9442f0
commit
c10e84b10d
@@ -52,7 +52,7 @@ fn render_media_cache(
|
|||||||
cache.map_mut().insert(url.to_owned(), res);
|
cache.map_mut().insert(url.to_owned(), res);
|
||||||
}
|
}
|
||||||
|
|
||||||
egui::Frame::none()
|
egui::Frame::NONE
|
||||||
.show(ui, |ui| {
|
.show(ui, |ui| {
|
||||||
match cache.map_mut().get_mut(url).and_then(|p| p.ready_mut()) {
|
match cache.map_mut().get_mut(url).and_then(|p| p.ready_mut()) {
|
||||||
None => show_waiting(ui),
|
None => show_waiting(ui),
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ impl<'a> SearchResultsView<'a> {
|
|||||||
.constrain_to(rect)
|
.constrain_to(rect)
|
||||||
.show(ui.ctx(), |ui| {
|
.show(ui.ctx(), |ui| {
|
||||||
let inner_margin_size = 8.0;
|
let inner_margin_size = 8.0;
|
||||||
egui::Frame::none()
|
egui::Frame::NONE
|
||||||
.fill(ui.visuals().panel_fill)
|
.fill(ui.visuals().panel_fill)
|
||||||
.inner_margin(inner_margin_size)
|
.inner_margin(inner_margin_size)
|
||||||
.show(ui, |ui| {
|
.show(ui, |ui| {
|
||||||
|
|||||||
Reference in New Issue
Block a user