mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Drop narration and internal asides from comments
This commit is contained in:
@@ -185,7 +185,7 @@ fn frame_memo<'e, 'l>(
|
||||
};
|
||||
let past_end = || GPoll::Error(Box::new(core_types::gpoll::GraphError::past_end()));
|
||||
let entry = cache.lock().unwrap().as_ref().filter(|entry| entry.key == key).map(|entry| (entry.span, entry.finality));
|
||||
// A span that no longer resolves was flushed; the miss below re-publishes.
|
||||
// A span that no longer resolves was flushed.
|
||||
if let Some((span, finality)) = entry
|
||||
&& let Some(published) = span.batch(persistent, content.layout())
|
||||
{
|
||||
|
||||
@@ -540,7 +540,7 @@ fn to_graphic_unit_extent(_content: core_types::extent::ValueIn<'_, ()>, _level:
|
||||
/// The transitional level bridge: the input's records as the legacy list an
|
||||
/// unconverted consumer expects, attributes copied through their erased
|
||||
/// reads and content kept in its native form. Registered under the legacy
|
||||
/// convert identifiers; the rows die with the last legacy consumer.
|
||||
/// convert identifiers.
|
||||
#[node_macro::node(category(""))]
|
||||
pub fn level_to_list<T: Clone + Send + Sync + CacheHash + dyn_any::StaticTypeSized>(
|
||||
_: impl Ctx,
|
||||
|
||||
@@ -327,7 +327,6 @@ fn paint_table(paint: core_types::node::List<'_, Graphic<'_>>) -> List<Graphic<'
|
||||
}
|
||||
|
||||
/// Applies a fill style to the vector content, giving an appearance to the area within the interior of the geometry.
|
||||
/// The gradient transform fallback spans the lane's own bounds rather than the whole content's.
|
||||
#[node_macro::node(category("Vector: Style"), path(graphene_core::vector), properties("fill_properties"))]
|
||||
fn fill<'e>(
|
||||
ctx: impl Ctx + ExtractArena<'e> + ExtractIndex + InjectIndex + Copy,
|
||||
@@ -1767,8 +1766,6 @@ fn path_is_closed(
|
||||
.unwrap_or(false)
|
||||
}
|
||||
|
||||
// Converts with the write-attribute family: the record form needs a lazy
|
||||
// value input on a record node, which the macro does not accept yet, and it
|
||||
/// Sets each anchor point's position to the value the mapped input produces, with the point's
|
||||
/// index and current position provided via context.
|
||||
#[node_macro::node(category("Vector"), path(graphene_core::vector), extent(map_points_extent))]
|
||||
|
||||
Reference in New Issue
Block a user