OpenSeadragonPaperjsOverlay icon indicating copy to clipboard operation
OpenSeadragonPaperjsOverlay copied to clipboard

Flickering rendering with newer versions of paper.js

Open lesolorzanov opened this issue 7 years ago • 4 comments

Hi, I realize this is not an issue of OSD paperjsoverlay but of paper.js itself. I just tried with version 0.11.4 and the example uses version 0.9.25. With the newer version there is a flickering of the circles every time there is a zoom operation. I don't if it is due to OSD or paper.js.

lesolorzanov avatar Jul 27 '17 15:07 lesolorzanov

I have the same issue...

F0rt1s avatar Dec 04 '17 12:12 F0rt1s

Still the same with version 0.11.5

nash4711 avatar Apr 17 '18 08:04 nash4711

Hi, If you add view.update(); on version 0.12.0 of paper-full.js at line 2708 it resolves the issue for me. Example :

_changed: function(flags, item) {
		if (flags & 1) {
			var view = this._view;
			if (view) {
				view._needsUpdate = true;
				if (!view._requested && view._autoUpdate)
					view.requestUpdate();
				view.update();
			}
		}

gatounec avatar Feb 10 '19 19:02 gatounec

This is still an issue in the current version (0.12.4) and the fix from @gatounec still works. Why hasn't this been fixed in the last year?

DJAxel avatar Feb 18 '20 10:02 DJAxel