poi-plugin-ship-info
Advanced tools
Comparing version 7.0.3 to 7.0.4
{ | ||
"name": "poi-plugin-ship-info", | ||
"version": "7.0.3", | ||
"version": "7.0.4", | ||
"description": "Show detailed information of all owned ship girls", | ||
@@ -5,0 +5,0 @@ "main": "index.es", |
@@ -28,11 +28,13 @@ "use strict"; | ||
const GlobalStyle = _styledComponents.createGlobalStyle` | ||
::-webkit-scrollbar { | ||
height: 16px; | ||
width: 16px; | ||
} | ||
.ship-info-scrollable { | ||
::-webkit-scrollbar { | ||
height: 16px; | ||
width: 16px; | ||
} | ||
::-webkit-scrollbar-thumb { | ||
background: ${props => props.theme.BLUE1}; | ||
height: 16px; | ||
width: 16px; | ||
::-webkit-scrollbar-thumb { | ||
background: ${props => props.theme.BLUE1}; | ||
height: 16px; | ||
width: 16px; | ||
} | ||
} | ||
@@ -39,0 +41,0 @@ `; |
@@ -145,3 +145,5 @@ "use strict"; | ||
title: t(name), | ||
panel: _react["default"].createElement(ShipList, null, (0, _lodash["default"])(ships).filter(ship => type === -1 || type === ship.superTypeIndex).filter(ship => !query || (filtered || []).includes(ship.id)).sortBy([ship => (filtered || []).indexOf(ship.id), ship => -ship.lv, ship => -ship.exp]).map(ship => _react["default"].createElement(ShipItem, { | ||
panel: _react["default"].createElement(ShipList, { | ||
className: "ship-info-scrollable" | ||
}, (0, _lodash["default"])(ships).filter(ship => type === -1 || type === ship.superTypeIndex).filter(ship => !query || (filtered || []).includes(ship.id)).sortBy([ship => (filtered || []).indexOf(ship.id), ship => -ship.lv, ship => -ship.exp]).map(ship => _react["default"].createElement(ShipItem, { | ||
key: ship.id, | ||
@@ -148,0 +150,0 @@ onClick: this.handleSelect(ship.id), |
@@ -8,2 +8,4 @@ "use strict"; | ||
var _classnames = _interopRequireDefault(require("classnames")); | ||
var _lodash = require("lodash"); | ||
@@ -39,6 +41,6 @@ | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj["default"] = obj; return newObj; } } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj["default"] = obj; return newObj; } } | ||
// tslint:disable jsx-no-lambda | ||
@@ -210,3 +212,3 @@ const reorderShips = (dispatch, getState) => { | ||
}, _react["default"].createElement("div", { | ||
className: _core.Classes.DIALOG_BODY | ||
className: (0, _classnames["default"])(_core.Classes.DIALOG_BODY, 'ship-info-scrollable') | ||
}, _react["default"].createElement(PlannerContent, { | ||
@@ -213,0 +215,0 @@ activeTab: activeTab |
@@ -243,2 +243,3 @@ "use strict"; | ||
}, this.titleRenderer), _react["default"].createElement(_reactWindow.VariableSizeGrid, { | ||
className: "ship-info-scrollable", | ||
ref: this.grid, | ||
@@ -245,0 +246,0 @@ columnCount: WIDTHS.length, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1288363
20200