Explorar el Código

Remove app.inverted

Kentaro Wada hace 6 años
padre
commit
a84001c9db
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0 4
      labelme/app.py

+ 0 - 4
labelme/app.py

@@ -1336,10 +1336,6 @@ class MainWindow(QtWidgets.QMainWindow, WindowMixin):
         return images
         return images
 
 
 
 
-def inverted(color):
-    return QtGui.QColor(*[255 - v for v in color.getRgb()])
-
-
 def read(filename, default=None):
 def read(filename, default=None):
     try:
     try:
         with open(filename, 'rb') as f:
         with open(filename, 'rb') as f: