Made the lines more compact and shared.

This commit is contained in:
dnurkkala 2018-06-19 14:05:25 -07:00
parent 89fc0c652f
commit b62f345efe

View file

@ -64,16 +64,12 @@ local function main()
end) end)
end end
toolbar:CreateButton("Sync In", local dShort = "Sync In"
"Sync into Roblox Studio", local dLong = "Sync into Roblox Studio"
Config.icons.syncIn)
.Click:Connect(syncIn) toolbar:CreateButton(dShort, dLong, Config.icons.syncIn).Click:Connect(syncIn)
plugin:CreatePluginAction( plugin:CreatePluginAction("RojoSyncIn", dShort, dLong).Triggered:Connect(syncIn)
"RojoSyncIn",
"Sync In Rojo Project",
"Pulls the connected Rojo project into Studio.")
.Triggered:Connect(syncIn)
toolbar:CreateButton("Toggle Polling", "Poll server for changes", Config.icons.togglePolling) toolbar:CreateButton("Toggle Polling", "Poll server for changes", Config.icons.togglePolling)
.Click:Connect(function() .Click:Connect(function()