Skip to content

Commit

Permalink
Remove icon titles
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbreuler committed May 13, 2020
1 parent e734870 commit f9a5da1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Duration Picker/durationPicker/DurationPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,35 +338,35 @@ export class DurationPicker extends React.Component<IDurationPickerProps, IDurat
return (
<Stack horizontal styles={stackStyles} disableShrink tokens={numericalSpacingStackTokens}>
<Stack styles={stackStyles}>
<IconButton title={upIcon} id={Time.Hours} iconProps={{ iconName: upIcon }} styles={buttonStyle}
<IconButton id={Time.Hours} iconProps={{ iconName: upIcon }} styles={buttonStyle}
onMouseDown={() => this.startContinuousIncrement(Time.Hours)}
onMouseUp={() => this.stopContinuousIncrement()}
onMouseOut={() => this.stopContinuousDecrement()}
onKeyDown={(e) => this.onKeyDown(e, increment, Time.Hours)}
onKeyUp={this.onKeyUp} />
onKeyUp={this.onKeyUp} />
<TextField styles={narrowTextFieldStyles} value={this.setHoursText()}
onChange={(e: any) => this.onTextChange(e, Time.Hours)} borderless placeholder="--" />
<IconButton title={downIcon} id={Time.Hours} iconProps={{ iconName: downIcon }} styles={buttonStyle}
<IconButton id={Time.Hours} iconProps={{ iconName: downIcon }} styles={buttonStyle}
onMouseDown={() => { this.startContinuousDecrement(Time.Hours) }}
onMouseUp={() => this.stopContinuousDecrement()}
onMouseOut={() => this.stopContinuousDecrement()}
onKeyDown={(e) => this.onKeyDown(e, decrement, Time.Hours)}
onKeyUp={this.onKeyUp} />
onKeyUp={this.onKeyUp} />
<Text> HRS </Text>
</Stack>
<Stack horizontalAlign="center" styles={centerStackStyles}>
<span>:</span>
</Stack>
<Stack styles={stackStyles}>
<IconButton title={upIcon} id={Time.Minutes} iconProps={{ iconName: upIcon }} styles={buttonStyle}
<IconButton id={Time.Minutes} iconProps={{ iconName: upIcon }} styles={buttonStyle}
onMouseDown={() => this.startContinuousIncrement(Time.Minutes)}
onMouseUp={() => this.stopContinuousIncrement()}
onMouseOut={() => this.stopContinuousDecrement()}
onKeyDown={(e) => this.onKeyDown(e, increment, Time.Minutes)}
onKeyUp={this.onKeyUp} />
onKeyUp={this.onKeyUp} />
<TextField styles={narrowTextFieldStyles} value={this.setMinutesText()}
onChange={(e: any) => this.onTextChange(e, Time.Minutes)} borderless placeholder="--" />
<IconButton title={downIcon} id={Time.Minutes} iconProps={{ iconName: downIcon }} styles={buttonStyle}
<IconButton id={Time.Minutes} iconProps={{ iconName: downIcon }} styles={buttonStyle}
onMouseDown={() => this.startContinuousDecrement(Time.Minutes)}
onMouseUp={() => this.stopContinuousDecrement()}
onMouseOut={() => this.stopContinuousDecrement()}
Expand Down

0 comments on commit f9a5da1

Please sign in to comment.