1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #include "reference_rect.h"
- #include "engine.h"
- void ReferenceRect::_notification(int p_what) {
- if (p_what == NOTIFICATION_DRAW) {
- if (!is_inside_tree())
- return;
- if (Engine::get_singleton()->is_editor_hint())
- draw_style_box(get_stylebox("border"), Rect2(Point2(), get_size()));
- }
- }
- ReferenceRect::ReferenceRect() {
- }
|