mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 06:48:12 +08:00
Improve previewing node data (#1446)
* Improve preview * Improve contrast * Restructure in order to duplicate code * Code review nits --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
c823016316
commit
e0ac073805
@@ -290,7 +290,7 @@ impl core::fmt::Display for LayerNodeIdentifier {
|
||||
}
|
||||
|
||||
impl LayerNodeIdentifier {
|
||||
const ROOT: Self = LayerNodeIdentifier::new_unchecked(0);
|
||||
pub const ROOT: Self = LayerNodeIdentifier::new_unchecked(0);
|
||||
|
||||
/// Construct a [`LayerNodeIdentifier`] without checking if it is a layer node
|
||||
pub const fn new_unchecked(node_id: NodeId) -> Self {
|
||||
|
||||
Reference in New Issue
Block a user