Skip to content

Commit 178c019

Browse files
committed
Re-apply crystal tool format
1 parent 0245bbd commit 178c019

File tree

5 files changed

+49
-49
lines changed

5 files changed

+49
-49
lines changed

src/demo.cr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3399,7 +3399,7 @@ module ImGuiDemo
33993399
def initialize(
34003400
@id : Int32,
34013401
@name : String,
3402-
@quantity : Int32
3402+
@quantity : Int32,
34033403
)
34043404
end
34053405

@@ -3444,7 +3444,7 @@ module ImGuiDemo
34443444
end
34453445
end
34463446

3447-
def self.with_style_compact
3447+
def self.with_style_compact(&)
34483448
style = ImGui.get_style
34493449
ImGui.push_style_var(ImGuiStyleVar::FramePadding, ImVec2.new(style.frame_padding.x, (style.frame_padding.y * 0.60f32).to_i))
34503450
ImGui.push_style_var(ImGuiStyleVar::ItemSpacing, ImVec2.new(style.item_spacing.x, (style.item_spacing.y * 0.60f32).to_i))
@@ -3560,7 +3560,7 @@ module ImGuiDemo
35603560
@type : String,
35613561
@size : Int32,
35623562
@child_idx : Int32,
3563-
@child_count : Int32
3563+
@child_count : Int32,
35643564
)
35653565
end
35663566

src/imgui.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module ImGui
22
LibImGui.SetAllocatorFunctions(->(size, data) {
33
GC.malloc(size)
4-
}, ->(ptr, data) {}, nil)
4+
}, ->(ptr, data) { }, nil)
55

66
private module ClassType(T)
77
macro included

0 commit comments

Comments
 (0)