Slow down Event.current.button

How can i slow down the ‘Event.current.button’ tests because using the code below, if the mouse button is clicked it is called twice(or more).

Code:

if(labelRect.Contains(Event.current.mousePosition) && Event.current.button == 0 && Event.current.isMouse){
				showChangelogWindow = !showChangelogWindow;
				showSurvivalWindow = false;
				showOptionsWindow = false;
			}

You need to also check Event.current.type to see if it’s MouseDown or MouseUp.