mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-26 03:49:11 +00:00
lead: drop the page-area DIAG (the document panel keeps its room)
This commit is contained in:
@@ -292,14 +292,6 @@ impl DockPanels<PanelId> for Panels<'_> {
|
||||
if panels.contains(&PanelId::Toolbar) {
|
||||
crate::hotbar::show_rail(self.app, ui);
|
||||
} else if panels.contains(&PanelId::Document) {
|
||||
if rect.width() < 100.0 {
|
||||
eprintln!(
|
||||
"DIAG checker_summary_does_not_hide_manual_review: document panel {rect:?}, ui max_rect {:?}, screen {:?}, dock {:?}",
|
||||
ui.max_rect(),
|
||||
ui.ctx().content_rect(),
|
||||
self.app.dock.layout.root
|
||||
);
|
||||
}
|
||||
document_view(self.app, ui, rect);
|
||||
} else {
|
||||
return None;
|
||||
|
||||
Reference in New Issue
Block a user