Branch: refs/heads/master Home: https://github.com/cytoscape/cytoscape.js Commit: f0862fa8e23db3fb2d9bc38e16604aa3ff564410 https://github.com/cytoscape/cytoscape.js/commit/f0862fa8e23db3fb2d9bc38e16604aa3ff564410 Author: Max Franz <maxkfr...@gmail.com> Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths: M src/collection/style.js M src/style/apply.js M src/style/index.js Log Message: ----------- The `newStyle` flag in the styler doesn't make sense anymore. It conflicts with the use of lazy, per-element style application (#2723). Use `style.clear()` to perform the same actions as would be previously performed at `style.apply()` with `newStyle === true`. Details: - Use a `appliedInitStyle` flag for elements to indicate whether a fresh stylesheet is being applied for the first time. This is necessary for transitions. - `styleCxtKey` is cleared out in `style.clearStyleHints()`. - Moves `_private.styleDirty = true` down one line for good measure, but this doesn't directly affect this issue. Refs. : Style updates are faulty after switching to a new stylesheet #2747 -- You received this message because you are subscribed to the Google Groups "cytoscape-cvs" group. To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-cvs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/cytoscape-cvs/cytoscape/cytoscape.js/push/refs/heads/master/3d746d-f0862f%40github.com.