Skip to content

Commit

Permalink
Remove unused IS_DEV_MODE constant
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel committed Nov 21, 2024
1 parent d4746f2 commit b4488bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/constants.luau
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ return {
CONTROLS_MIN_HEIGHT = 100, -- px
CONTROLS_MAX_HEIGHT = 400, -- px

-- Enabling dev mode will add flipbook's storybook to the list of available
-- storybooks to make localy testing easier. It also adds a [DEV] tag to the
-- plugin
IS_DEV_MODE = false,

SPRING_CONFIG = {
clamp = true,
mass = 0.6,
Expand Down
5 changes: 0 additions & 5 deletions src/init.server.luau
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,11 @@ local ReactRoblox = require("@pkg/ReactRoblox")

local ContextProviders = require("@root/Common/ContextProviders")
local PluginApp = require("@root/Plugin/PluginApp")
local constants = require("@root/constants")
local createToggleButton = require("@root/Plugin/createToggleButton")
local createWidget = require("@root/Plugin/createWidget")

local PLUGIN_NAME = "flipbook"

if constants.IS_DEV_MODE then
PLUGIN_NAME = "flipbook [DEV]"
end

local toolbar = plugin:CreateToolbar(PLUGIN_NAME)
local widget = createWidget(plugin, PLUGIN_NAME)
local root = ReactRoblox.createRoot(widget)
Expand Down

0 comments on commit b4488bb

Please sign in to comment.