Skip to content
Snippets Groups Projects
Commit 549fc51e authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

update: same shape color on selection

parent 30a6d1b7
No related branches found
No related tags found
1 merge request!10Clhp map
......@@ -106,7 +106,7 @@ class _ChoroplethMapState extends State<ChoroplethMap> {
onSelectionChanged: (int index) { // Shape selection behavior
setState(() {
selectedIndex = index;
selectedColor = subdivisions[index].color.withOpacity(0.7);
selectedColor = subdivisions[index].color;
});
widget.onSelectionChanged(selectedIndex);
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment