mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 16:40:00 +00:00
Show hint when hovering over function icon
This commit is contained in:
@@ -174,10 +174,16 @@ export default class ZoomSpecField extends React.Component {
|
||||
verticalAlign: 'top',
|
||||
backgroundColor: null,
|
||||
display: 'inline-block',
|
||||
paddingBottom: 0,
|
||||
paddingTop: 0,
|
||||
}}
|
||||
onClick={this.makeZoomFunction.bind(this)}
|
||||
>
|
||||
<FunctionIcon />
|
||||
<DocLabel
|
||||
label={<FunctionIcon />}
|
||||
cursorTargetStyle={{ cursor: 'pointer' }}
|
||||
doc="Turn property into a zoom function to enable a map feature to change with map's zoom level."
|
||||
/>
|
||||
</Button>
|
||||
}
|
||||
<SpecField {...this.props} style={{ width: '50%' } }/>
|
||||
|
||||
Reference in New Issue
Block a user