Przeglądaj źródła

added comment about double resize event

Brian Gough 11 lat temu
rodzic
commit
866de306d6

+ 2 - 0
services/web/public/coffee/ide/pdfng/directives/pdfViewer.coffee

@@ -320,6 +320,8 @@ define [
 					updateLayout()
 
 				scope.$on 'layout:pdf:resize', () ->
+					# FIXME we get this event twice
+					# also we need to start a new layout when we get it
 					console.log 'GOT LAYOUT-PDF-RESIZE EVENT'
 					updateLayout()