You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Several improvements to inspector.
-Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3) -Some clean ups with fonts and styles
This commit is contained in:
@@ -31,6 +31,11 @@
|
||||
#include "editor_spin_slider.h"
|
||||
#include "editor_scale.h"
|
||||
#include "os/input.h"
|
||||
|
||||
String EditorSpinSlider::get_tooltip(const Point2 &p_pos) const {
|
||||
return rtos(get_value());
|
||||
}
|
||||
|
||||
String EditorSpinSlider::get_text_value() const {
|
||||
int zeros = Math::step_decimals(get_step());
|
||||
return String::num(get_value(), zeros);
|
||||
|
||||
Reference in New Issue
Block a user