mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-07-05 13:15:32 +02:00
fix(pty): use double, not float, for blink times
Changes blink_on_time and blink_off_time to use double rather than float. When float was used, the default blink_off_time of 0.3 was being converted to 0.30000001192093 in GDScript.
This commit is contained in:
parent
481a1cb04a
commit
cb86cc95d7
2 changed files with 11 additions and 11 deletions
|
@ -65,11 +65,11 @@ namespace godot
|
|||
void set_bell_cooldown(const double p_bell_cooldown);
|
||||
double get_bell_cooldown() const;
|
||||
|
||||
void set_blink_on_time(const float p_blink_on_time);
|
||||
float get_blink_on_time() const;
|
||||
void set_blink_on_time(const double p_blink_on_time);
|
||||
double get_blink_on_time() const;
|
||||
|
||||
void set_blink_off_time(const float p_blink_off_time);
|
||||
float get_blink_off_time() const;
|
||||
void set_blink_off_time(const double p_blink_off_time);
|
||||
double get_blink_off_time() const;
|
||||
|
||||
void set_inverse_mode(const int mode);
|
||||
int get_inverse_mode() const;
|
||||
|
@ -86,8 +86,8 @@ namespace godot
|
|||
unsigned int cols;
|
||||
unsigned int rows;
|
||||
|
||||
float blink_on_time;
|
||||
float blink_off_time;
|
||||
double blink_on_time;
|
||||
double blink_off_time;
|
||||
|
||||
InverseMode inverse_mode;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue