Oleh Prypin

Results 536 comments of Oleh Prypin

I think the most useful example of input would be asking the user to type "yes" or "no" and looping until a valid input is entered. This one is too...

Hmm? Seems to work ```crystal require "crsfml" a = SF::View.new a.reset(SF.float_rect(100, 100, 400, 200)) b = a.dup p! b.size # => SF::Vector2(Float32)(@x=400.0, @y=200.0) ```

I think it's `SF::View::Reference#dup` that is broken, yeah. ```crystal require "crsfml" w = SF::RenderWindow.new a = w.view p! a.size # => SF::Vector2(Float32)(@x=1000.0, @y=1000.0) b = a.dup p! b.size # Error:...

Wow, now that could very well be a Crystal bug. Thanks, I'll check that separately, even though my fix would've gotten both.

So I reduced the sub-issue to this: ```crystal class Foo def initialize() end def initialize(copy : Foo) end def dup() : self return typeof(self).new(self) end end class Bar < Foo...

But I want antialiasing

There has to be a better way. Please try to find a combination of context settings arguments that works with non zero antialiasing. Maybe you can find some examples online.

Yeah that's kinda intentional. I never figured out any approach for adding a tag and then still being able to make improvements to the code, so I always tag very...

I have a greatly simplified solution to all this (incl. finding the pull request from within `workflow_run`). It's all in this 1 file: https://github.com/oprypin/nightly.link/blob/master/.github/workflows/pr-comment.yml