Branch: refs/heads/unstable
  Home:   https://github.com/cytoscape/cytoscape.js
  Commit: c583c60d4d3b4bc958dab22c1115505878d354ce
      
https://github.com/cytoscape/cytoscape.js/commit/c583c60d4d3b4bc958dab22c1115505878d354ce
  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/unstable/4c919a-c583c6%40github.com.

Reply via email to