Improve the appearance of project panel filename editor
* Always layout single-line editors with a fixed height * Preserve directory chevron when editing folder names * Allow theming the filename editor Co-authored-by: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
parent
333b4aaf4e
commit
8fdc5c9be3
15 changed files with 206 additions and 234 deletions
|
@ -225,6 +225,8 @@ impl DiagnosticSummary {
|
|||
pub struct ProjectEntryId(usize);
|
||||
|
||||
impl ProjectEntryId {
|
||||
pub const MAX: Self = Self(usize::MAX);
|
||||
|
||||
pub fn new(counter: &AtomicUsize) -> Self {
|
||||
Self(counter.fetch_add(1, SeqCst))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue