summaryrefslogtreecommitdiff
path: root/src/colors.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/colors.zig')
-rw-r--r--src/colors.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/colors.zig b/src/colors.zig
index dd0d8938..28136975 100644
--- a/src/colors.zig
+++ b/src/colors.zig
@@ -840,7 +840,7 @@ pub fn loadThemeFile(p: *Pardes, generation: u32, bytes: []const u8, animate: bo
@memcpy(settled[0..request.path.len], request.path);
_ = p.theme_file_loaded.set(settled[0..request.path.len]);
invalidateThemeDependentRasters(p);
- _ = p.scratch.reset(.retain_capacity);
+ _ = p.scratch.reset(.{ .retain_with_limit = pardes.memory.limits.scratch_kept });
p.sync();
return true;
}