minor cleanup before generalization

This commit is contained in:
2024-11-29 20:29:26 -05:00
parent 898c389bb0
commit f6ba5b2638
4 changed files with 13 additions and 24 deletions

View File

@ -60,7 +60,6 @@ startup :: proc( prof : ^SpallProfiler, persistent_mem, frame_mem, transient_mem
// Any persistent allocations are explicitly specified.
context.allocator = transient_allocator()
context.temp_allocator = transient_allocator()
}
state := new( State, persistent_allocator() )

View File

@ -154,7 +154,7 @@ update :: proc( delta_time : f64 ) -> b32
// TODO(Ed): This should be per workspace view
{
Digial_Zoom_Snap_Levels := []f32{
0.025, // 0.4px (not practical for text, but allows extreme zoom out)
0.025, // 0.4px (not practical for text, but allows extreme zoom out)
0.03125, // 0.5px
0.0375, // 0.6px
0.04375, // 0.7px