mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GT-3020 - Function Graph - for edges, split 'in active path' state into
2 parts so we can track hovered/focused/selected separately, which prevents the focused/selected state changes from overwriting each other
This commit is contained in:
parent
85e25af7e8
commit
cb94773ce5
12 changed files with 368 additions and 218 deletions
|
@ -61,7 +61,7 @@ public class ColorUtils {
|
|||
// This can be addressed with some polar plotting:
|
||||
// Let the hue be the degree, and the saturation be the radius, so that the range
|
||||
// of values covers an area of a circle of radius 1. Let the circle be centered
|
||||
// at the origin. Plot the two colors and compute their distance in euclidean
|
||||
// at the origin. Plot the two colors and compute their distance in Euclidean
|
||||
// space.
|
||||
|
||||
// Start by plotting the given background
|
||||
|
@ -76,7 +76,7 @@ public class ColorUtils {
|
|||
|
||||
// It's not pleasant to put two highly-saturated colors next to each other
|
||||
// Because of this restriction, we know that the maximum distance the two plotted
|
||||
// points can be from eachother is 1, because their total distance to the center
|
||||
// points can be from each other is 1, because their total distance to the center
|
||||
// is at most 1.
|
||||
vals[1] = 1.0f - vals[1];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue