Update controls when a stylebox or icon override changes; change to CONNECT_REFERENCE_COUNTED
Also, cleanup unnessesary calls to update() and NOTIFICATION_THEME_CHANGED. Fixes #25904.
This commit is contained in:
@ -903,6 +903,7 @@ int StyleBoxLine::get_thickness() const {
|
||||
|
||||
void StyleBoxLine::set_vertical(bool p_vertical) {
|
||||
vertical = p_vertical;
|
||||
emit_changed();
|
||||
}
|
||||
bool StyleBoxLine::is_vertical() const {
|
||||
return vertical;
|
||||
|
||||
Reference in New Issue
Block a user