Renamed listener's paramter to opacity.