mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
给view.py添加中文注释
This commit is contained in:
parent
ac41971d43
commit
fe07dc43da
1 changed files with 2 additions and 1 deletions
|
|
@ -214,7 +214,8 @@ class BeeGraphicsView(MainControlsMixin,
|
|||
self.recalc_scene_rect() # 重新计算场景矩形
|
||||
# It seems to be more reliable when we fit a second time
|
||||
# Sometimes a changing scene rect can mess up the fitting
|
||||
self.fitInView(rect, Qt.AspectRatioMode.KeepAspectRatio)
|
||||
self.fitInView(rect, Qt.AspectRatioMode.KeepAspectRatio) # 适合矩形,保持纵横比
|
||||
self.recalc_scene_rect() # 重新计算场景矩形
|
||||
logger.trace('Fit view done')
|
||||
|
||||
def get_confirmation_unsaved_changes(self, msg):
|
||||
|
|
|
|||
Loading…
Reference in a new issue