forked from 1b-agent/opencadstudio-upstream
fix(ui): make modal layouts intrinsic
Pin Iced 0.15 so dialogs can measure content before distributing the resolved frame across child panels. Keep the web plugin notice compact and non-resizable.\n\nCloses #582
This commit is contained in:
1 parent
284d6ef517
commit
3ab8dc3ca5
59 files changed
+2197
-1652
No files matched your search
@@ -1044,7 +1044,9 @@ pub(super) fn on_tab_close(&mut self, idx: usize) -> Task<Message> {
|
||||
Message::MTextPasteClip,
|
||||
);
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
return iced::clipboard::read().map(Message::MTextPasteClip);
|
||||
return iced::clipboard::read_text().map(|result| {
|
||||
Message::MTextPasteClip(result.ok().map(|text| (*text).clone()))
|
||||
});
|
||||
}
|
||||
if self.text_inline.is_some() {
|
||||
// Web: the iced text_input can't reach the async clipboard,
|
||||
|
||||
Reference in new issue
Block a user