Кнопки для точек на кривой
This commit is contained in:
@@ -41,6 +41,7 @@ pub fn getProperty(self: Object, tag: std.meta.Tag(PropertyData)) ?*const Proper
|
||||
return null;
|
||||
}
|
||||
|
||||
/// Забирает владение Property
|
||||
pub fn setProperty(self: *Object, allocator: std.mem.Allocator, prop: Property) !void {
|
||||
for (self.properties.items, 0..) |*p, i| {
|
||||
if (std.meta.activeTag(p.data) == std.meta.activeTag(prop.data)) {
|
||||
|
||||
Reference in New Issue
Block a user