diff --git a/libs/ui/source/positioner.cpp b/libs/ui/source/positioner.cpp index 61e50ba1..0a8260d7 100644 --- a/libs/ui/source/positioner.cpp +++ b/libs/ui/source/positioner.cpp @@ -56,9 +56,14 @@ namespace psemek::ui void positioner::set_position(geom::point const & p, x_align x, y_align y) { - position_ = p; - x_ = x; - y_ = y; + if (p != position_ || x_ != x || y_ != y) + { + position_ = p; + x_ = x; + y_ = y; + + post_reshape(); + } } }