-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port 'Snapshot' demo to Vala #179
Conversation
Add initial Vala code for Snapshot Suggestion needed for the use of 'this' keyword
Usage of keyword according to Javascript and Python implementations
private Gtk.GestureDrag gesture; | ||
private bool gesture_started = false; | ||
|
||
public Chessboard() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great overall! We are just missing the space before the parentheses and this is ready to be merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The formatter from vala lang server automatically removes the space before the parentheses.
Hello again from me after this long time, I am extremely sorry I left everyone without help even though I was responsible... |
Also I support/trust all decisions @Diego-Ivan made, in this PR and everywhere else :) |
private Gtk.GestureDrag gesture; | ||
private bool gesture_started = false; | ||
|
||
public Chessboard() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The formatter from vala lang server automatically removes the space before the parentheses.
Add initial Vala code for Snapshot
-Used
this
keyword according to Javascript and Python demos-Avoided
this
keyword for constant valuesLet me know if the implementation is correct and also if there are any other fixes that need to be done :)