Ver Fonte

Fixed htmlview_test.

Mark Sibly há 8 anos atrás
pai
commit
27dee99c6e
1 ficheiros alterados com 5 adições e 8 exclusões
  1. 5 8
      modules/mojox/tests/htmlview_test.monkey2

+ 5 - 8
modules/mojox/tests/htmlview_test.monkey2

@@ -16,23 +16,20 @@ Class MyWindow Extends Window
 
 		Local htmlView:=New HtmlView
 		
-		htmlView.Go( "assets::about.html" )
+		htmlView.Go( "asset::about.html" )
 		
-		ContentView=htmlView
+		Print htmlView.HtmlSource
 		
-		App.Idle+=OnIdle
+		ContentView=htmlView
 	End
 	
-	Method OnIdle()
+	Method OnRender( canvas:Canvas ) Override
 	
-		App.RequestRender()
-		
-		App.Idle+=OnIdle
+		RequestRender()
 	End
 
 End
 
-
 Function Main()
 
 	New AppInstance