mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-10 03:11:07 +00:00
change context menu style (#6333)
* change menu context style * change tree view menu context
This commit is contained in:
@@ -22,6 +22,7 @@ const propTypes = {
|
||||
repoID: PropTypes.string.isRequired,
|
||||
posX: PropTypes.number,
|
||||
posY: PropTypes.number,
|
||||
getMenuContainerSize: PropTypes.func,
|
||||
};
|
||||
|
||||
const LEFT_INDENT = 20;
|
||||
@@ -347,6 +348,7 @@ class TreeView extends React.Component {
|
||||
onMenuItemClick={this.onMenuItemClick}
|
||||
onHideMenu={this.onHideMenu}
|
||||
onShowMenu={this.onShowMenu}
|
||||
getMenuContainerSize={this.props.getMenuContainerSize}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
Reference in New Issue
Block a user