Skip to content

Commit

Permalink
updated refresh method
Browse files Browse the repository at this point in the history
added invalidate and clip enforcement to TileView.refresh method
  • Loading branch information
moagrius committed Aug 31, 2013
1 parent 24c5cf0 commit 7dd9072
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/com/qozix/tileview/TileView.java
Original file line number Diff line number Diff line change
Expand Up @@ -703,12 +703,13 @@ public void resume(){
}

/**
* Request the TileView reevaluate tile sets, rendered tiles, samples, etc
* Request the TileView reevaluate tile sets, rendered tiles, samples, invalidates, etc
*/
public void refresh() {
tileManager.updateTileSet();
tileManager.requestRender();
sampleManager.update();
redraw();
}

//------------------------------------------------------------------------------------
Expand Down

0 comments on commit 7dd9072

Please sign in to comment.