equal
deleted
inserted
replaced
699 posx = max(0, self.Pos.x + width - min_width) |
699 posx = max(0, self.Pos.x + width - min_width) |
700 if scaling is not None: |
700 if scaling is not None: |
701 posx = round_scaling(posx, scaling[0]) |
701 posx = round_scaling(posx, scaling[0]) |
702 self.Pos.x = posx |
702 self.Pos.x = posx |
703 elif self.Type == OUTPUT: |
703 elif self.Type == OUTPUT: |
704 posy = max(0, self.Pos.x + (width - min_width) / 2) |
704 posx = max(0, self.Pos.x + (width - min_width) / 2) |
705 if scaling is not None: |
705 if scaling is not None: |
706 posx = round_scaling(posx, scaling[0]) |
706 posx = round_scaling(posx, scaling[0]) |
707 self.Pos.x = posx |
707 self.Pos.x = posx |
708 width = min_width |
708 width = min_width |
709 if scaling is not None: |
709 if scaling is not None: |