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
@@ -50,7 +50,9 @@ fn instance_buffer_mapped<T: bytemuck::Pod>(
|
||||
});
|
||||
{
|
||||
let mut view = buf.slice(..).get_mapped_range_mut();
|
||||
view[..bytes.len()].copy_from_slice(bytes);
|
||||
if !bytes.is_empty() {
|
||||
view.slice(..bytes.len()).copy_from_slice(bytes);
|
||||
}
|
||||
}
|
||||
buf.unmap();
|
||||
buf
|
||||
|
||||
Reference in new issue
Block a user