Skip to content

Commit

Permalink
Small style change
Browse files Browse the repository at this point in the history
  • Loading branch information
ihsoft committed Oct 27, 2018
1 parent 0928ef6 commit 5b70985
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Source/ModuleKISInventory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using KSPDev.ConfigUtils;
using KSPDev.GUIUtils;
using KSPDev.LogUtils;
using KSPDev.ModelUtils;
using KSPDev.KSPInterfaces;
using KSPDev.PartUtils;
using System;
Expand Down Expand Up @@ -555,12 +554,12 @@ public enum InventoryType {
bool guiSetName = false;

//Tooltip
private KIS_Item tooltipItem;
KIS_Item tooltipItem;

// Context menu
private KIS_Item contextItem;
private bool contextClick = false;
private Rect contextRect;
KIS_Item contextItem;
bool contextClick = false;
Rect contextRect;

// Animation (Not tested)
[KSPField]
Expand All @@ -573,10 +572,10 @@ public enum InventoryType {
public FXGroup sndFx;

// Debug
private KIS_Item debugItem;
KIS_Item debugItem;

#region IHasContextMenu implementation
public void UpdateContextMenu() {
public virtual void UpdateContextMenu() {
var invEvent = PartModuleUtils.GetEvent(this, ToggleInventory);
if (invType == InventoryType.Pod) {
if (HighLogic.LoadedSceneIsEditor) {
Expand Down

0 comments on commit 5b70985

Please sign in to comment.