File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ def drawCustomImg():
179179 img = Image .open (self .image )
180180 except Exception :
181181 return
182- img = img .resize ((self .pxWidth , self .pxHeight ), Image .ANTIALIAS )
182+ img = img .resize ((self .pxWidth , self .pxHeight ), Image .Resampling . LANCZOS )
183183 frame .paste (img , box = (drawPtX , drawPtY ))
184184
185185 def drawShape ():
Original file line number Diff line number Diff line change @@ -35,8 +35,7 @@ def __init__(self, parent):
3535 self .lastFilter = "*"
3636 self .presetRows = [] # list of (comp, vers, name) tuples
3737
38- # FIXME
39- # self.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
38+ self .setWindowFlags (QtCore .Qt .WindowType .WindowStaysOnTopHint )
4039
4140 # connect button signals
4241 self .pushButton_delete .clicked .connect (self .openDeletePresetDialog )
You can’t perform that action at this time.
0 commit comments