We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c133ba6 commit dccb2eaCopy full SHA for dccb2ea
1 file changed
src/uing/image_view.cr
@@ -30,7 +30,7 @@ module UIng
30
end
31
32
def content_mode=(mode : ContentMode)
33
- LibUI.image_view_set_content_mode(@ref_ptr, LibUI::ImageViewContentMode.new(mode.value))
+ LibUI.image_view_set_content_mode(@ref_ptr, mode)
34
35
36
def to_unsafe
0 commit comments