Skip to content

Commit

Permalink
version inc
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRTTV committed Jun 14, 2024
1 parent c69f7ff commit a702388
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nbtworkbench"
version = "1.3.1"
version = "1.3.2"
edition = "2021"
description = "A modern NBT Editor written in Rust designed for performance and efficiency."
license-file = "LICENSE"
Expand Down
4 changes: 2 additions & 2 deletions src/workbench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use winit::keyboard::{KeyCode, PhysicalKey};

use crate::{MarkedLine, DOUBLE_CLICK_INTERVAL, DropFn, encompasses, encompasses_or_equal, FileUpdateSubscription, FileUpdateSubscriptionType, flags, get_clipboard, HeldEntry, LinkedQueue, OptionExt, panic_unchecked, Position, recache_along_indices, RenderContext, set_clipboard, since_epoch, SortAlgorithm, StrExt, sum_indices, tab, TAB_CLOSE_DOUBLE_CLICK_INTERVAL, tab_mut, WindowProperties};
use crate::alert::Alert;
use crate::assets::{ACTION_WHEEL_Z, BACKDROP_UV, BASE_TEXT_Z, BASE_Z, BOOKMARK_UV, CLOSED_WIDGET_UV, DARK_STRIPE_UV, SAVE_UV, HEADER_SIZE, HELD_ENTRY_Z, HIDDEN_BOOKMARK_UV, HORIZONTAL_SEPARATOR_UV, HOVERED_STRIPE_UV, HOVERED_WIDGET_UV, JUST_OVERLAPPING_BASE_TEXT_Z, LIGHT_STRIPE_UV, LINE_NUMBER_SEPARATOR_UV, NEW_FILE_UV, OPEN_FOLDER_UV, SELECTED_ACTION_WHEEL, SELECTED_WIDGET_UV, SELECTION_UV, TRAY_UV, JUST_UNDERLAPPING_BASE_Z, SAVE_GRAYSCALE_UV, UNSELECTED_ACTION_WHEEL, UNSELECTED_WIDGET_UV, EDITED_LINE_UV};
use crate::assets::{ACTION_WHEEL_Z, BACKDROP_UV, BASE_TEXT_Z, BASE_Z, BOOKMARK_UV, CLOSED_WIDGET_UV, DARK_STRIPE_UV, SAVE_UV, HEADER_SIZE, HELD_ENTRY_Z, HIDDEN_BOOKMARK_UV, HORIZONTAL_SEPARATOR_UV, HOVERED_STRIPE_UV, HOVERED_WIDGET_UV, JUST_OVERLAPPING_BASE_TEXT_Z, LIGHT_STRIPE_UV, LINE_NUMBER_SEPARATOR_UV, NEW_FILE_UV, OPEN_FOLDER_UV, SELECTED_ACTION_WHEEL, SELECTED_WIDGET_UV, SELECTION_UV, TRAY_UV, JUST_UNDERLAPPING_BASE_Z, SAVE_GRAYSCALE_UV, UNSELECTED_ACTION_WHEEL, UNSELECTED_WIDGET_UV};
use crate::marked_line::MarkedLines;
use crate::color::TextColor;
use crate::be_decoder::BigEndianDecoder;
Expand Down Expand Up @@ -1142,7 +1142,7 @@ impl Workbench {
}

#[inline]
pub fn new_custom_tab(&mut self, window_properties: &mut WindowProperties, mut tab: Tab) {
pub fn new_custom_tab(&mut self, window_properties: &mut WindowProperties, tab: Tab) {
// let _ = tab.edited_lines.add(MarkedLine::with_uv(1, 1, EDITED_LINE_UV));
self.tabs.push(tab);
self.set_tab(self.tabs.len() - 1, window_properties);
Expand Down

0 comments on commit a702388

Please sign in to comment.